diff options
author | Eric Biggers <ebiggers@google.com> | 2019-11-18 10:21:58 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-11-22 13:48:39 +0300 |
commit | b62755aed3a3f5ca9edd2718339ccea3b6bbbe57 (patch) | |
tree | 6cef27d00d7e9442dee0f7f18c275607c8f58412 /lib/crypto/chacha20poly1305.c | |
parent | 2043323a799a660bc84bbee404cf7a2617ec6157 (diff) | |
download | linux-b62755aed3a3f5ca9edd2718339ccea3b6bbbe57.tar.xz |
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/crypto/chacha20poly1305.c')
0 files changed, 0 insertions, 0 deletions