]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/camellia - remove XTS algorithm
authorEric Biggers <ebiggers@google.com>
Tue, 20 Feb 2018 07:48:21 +0000 (23:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:32 +0000 (00:03 +0800)
commit082e1bf5c5bbca756b69a3613fe20b36fb0558ec
tree91d100d38f32841b022569c4acd7da7060b684b6
parentbbefdafdda718743c27656b3501be31c43fc15ed
crypto: x86/camellia - remove XTS algorithm

The XTS template now wraps an ECB mode algorithm rather than the block
cipher directly.  Therefore it is now redundant for crypto modules to
wrap their ECB code with generic XTS code themselves via xts_crypt().

Remove the xts-camellia-asm algorithm which did this.  Users who request
xts(camellia) and previously would have gotten xts-camellia-asm will now
get xts(ecb-camellia-asm) instead, which is just as fast.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/camellia_aesni_avx_glue.c
arch/x86/crypto/camellia_glue.c
arch/x86/include/asm/crypto/camellia.h
crypto/Kconfig