diff options
author | Eric Biggers | 2019-11-17 23:21:58 -0800 |
---|---|---|
committer | Herbert Xu | 2019-11-22 18:48:39 +0800 |
commit | b62755aed3a3f5ca9edd2718339ccea3b6bbbe57 (patch) | |
tree | 6cef27d00d7e9442dee0f7f18c275607c8f58412 /lib | |
parent | 2043323a799a660bc84bbee404cf7a2617ec6157 (diff) |
crypto: x86/chacha - only unregister algorithms if registered
It's not valid to call crypto_unregister_skciphers() without a prior
call to crypto_register_skciphers().
Fixes: 84e03fa39fbe ("crypto: x86/chacha - expose SIMD ChaCha routine as library function")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions