aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-08 16:00:22 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-15 21:52:13 +1000
commit43b970fa82131ab4f42789a06bfd68dbc6f2a829 (patch)
treec2c998968c1ee53a4d60616a36059bd6dd0f3d9e /crypto/rsa-pkcs1pad.c
parenthwrng: core - Freeze khwrng thread during suspend (diff)
downloadlinux-dev-43b970fa82131ab4f42789a06bfd68dbc6f2a829.tar.xz
linux-dev-43b970fa82131ab4f42789a06bfd68dbc6f2a829.zip
crypto: cryptd - Use refcount_t for refcount
Reference counters are preferred to use refcount_t instead of atomic_t. This is because the implementation of refcount_t can prevent overflows and detect possible use-after-free. So convert atomic_t ref counters to refcount_t. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions