]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/serpent-avx2 - remove LRW algorithm
authorEric Biggers <ebiggers@google.com>
Tue, 20 Feb 2018 07:48:04 +0000 (23:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:20 +0000 (00:03 +0800)
commit9ebb12fdd77b23435987955cd65eec78096e124c
treed95328f94d3fdb33cca6bca035998b7ef9f37acb
parent8b9cb51e7fb6a955388d7fe939d7751884d6db70
crypto: x86/serpent-avx2 - remove LRW algorithm

The LRW 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 LRW code themselves via lrw_crypt().

Remove the lrw-serpent-avx2 algorithm which did this.  Users who request
lrw(serpent) and previously would have gotten lrw-serpent-avx2 will now
get lrw(ecb-serpent-avx2) 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/serpent_avx2_glue.c
crypto/Kconfig