]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/twofish-3way - remove XTS algorithm
authorEric Biggers <ebiggers@google.com>
Tue, 20 Feb 2018 07:48:08 +0000 (23:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:24 +0000 (00:03 +0800)
commitd50b69a5122b0ac565675d014cf34b6270975480
tree5c2ee37efb487c233265d072f69f727a757896b8
parenta4c202bb67d0066188dcc53514f2816e21ce0b9b
crypto: x86/twofish-3way - 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-twofish-3way algorithm which did this.  Users who request
xts(twofish) and previously would have gotten xts-twofish-3way will now
get xts(ecb-twofish-3way) 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/twofish_avx_glue.c
arch/x86/crypto/twofish_glue_3way.c
arch/x86/include/asm/crypto/twofish.h
crypto/Kconfig