]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/cast5 - drop CTR mode implementation
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Jan 2021 16:47:56 +0000 (17:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:28 +0000 (17:10 +1100)
commit9ad809dab27e31843dc6042cf180c2e6e2a0d872
tree4f4d099801ce8f0c1084cad26b0344cd8852befd
parentb012a571a4f34183359b32b575740f4a28eb3bf0
crypto: x86/cast5 - drop CTR mode implementation

CAST5 in CTR mode is never used by the kernel directly, and is highly
unlikely to be relied upon by dm-crypt or algif_skcipher. So let's drop
the accelerated CTR mode implementation, and instead, rely on the CTR
template and the bare cipher.

Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/cast5_avx_glue.c
crypto/Kconfig