summaryrefslogtreecommitdiff
path: root/crypto/dh_helper.c
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2023-06-14 18:46:43 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-23 16:15:36 +0800
commita0c957baaa17e273a977f3fc851d390e1f297c30 (patch)
treefaed25e2c68796ea982e466cdd97ae33c8cf0114 /crypto/dh_helper.c
parent1e5aeb9ee392d359f5ac068e6bbc0a7bcb84230f (diff)
downloadlinux-crypto-a0c957baaa17e273a977f3fc851d390e1f297c30.tar.gz
linux-crypto-a0c957baaa17e273a977f3fc851d390e1f297c30.zip
crypto: cipher - On clone do crypto_mod_get()
The refcounter of underlying algorithm should be incremented, otherwise it'll be destroyed with the cloned cipher, wrecking the original cipher. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/dh_helper.c')
0 files changed, 0 insertions, 0 deletions