commit | 9979c6e55d2b54ed6e0ce69b6f7faa7889549402 | [log] [tgz] |
---|---|---|
author | Dmitry Safonov <dima@arista.com> | Wed Jun 14 18:46:43 2023 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jun 23 16:15:36 2023 +0800 |
tree | dc1b6ca9dccd0bfde7199e372af0e34dca083616 | |
parent | fa3b3565f3ac5a468e3efebca00e10db5db3d6bb [diff] |
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>