]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/twofish-3way - remove LRW algorithm
authorEric Biggers <ebiggers@google.com>
Tue, 20 Feb 2018 07:48:07 +0000 (23:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:23 +0000 (00:03 +0800)
commita4c202bb67d0066188dcc53514f2816e21ce0b9b
treea3757aa3dbf73c0d7d565a67202b87ee23126ea9
parent7003e1fb7a5580a01f4686062632ec266ec6d817
crypto: x86/twofish-3way - 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-twofish-3way algorithm which did this.  Users who request
lrw(twofish) and previously would have gotten lrw-twofish-3way will now
get lrw(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