Skip to content
Snippets Groups Projects
Commit 9979c6e5 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Herbert Xu
Browse files

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: default avatarDmitry Safonov <dima@arista.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent fa3b3565
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment