summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:18 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:30 +0800
commit6fcb81b562cf5b75c543a9e29fea30d439af3560 (patch)
tree60b80994354dce5f7047df4b23416ee6ba1f839d /arch/x86/include/asm/crypto
parent09c0f03bf8ce9304e0d17131c46690b2c95209f4 (diff)
downloadlinux-0-day-6fcb81b562cf5b75c543a9e29fea30d439af3560.tar.gz
linux-0-day-6fcb81b562cf5b75c543a9e29fea30d439af3560.tar.xz
crypto: x86/camellia-aesni-avx - 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-camellia-aesni algorithm which did this. Users who request lrw(camellia) and previously would have gotten lrw-camellia-aesni will now get lrw(ecb-camellia-aesni) instead, which is just as fast. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/include/asm/crypto')
-rw-r--r--arch/x86/include/asm/crypto/camellia.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/crypto/camellia.h b/arch/x86/include/asm/crypto/camellia.h
index 10f8d590bcfef..24eff92a5356f 100644
--- a/arch/x86/include/asm/crypto/camellia.h
+++ b/arch/x86/include/asm/crypto/camellia.h
@@ -2,6 +2,7 @@
#ifndef ASM_X86_CAMELLIA_H
#define ASM_X86_CAMELLIA_H
+#include <crypto/lrw.h>
#include <linux/kernel.h>
#include <linux/crypto.h>