summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2011-09-22 13:33:01 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-09-22 13:33:01 +0200
commit4a4cc2b6bf475c183443278808b758c702c01404 (patch)
treec2f201b96e3411ee41a0a01c21a4d1fecfe4b497 /arch/x86/crypto
parentcrypto: blowfish - add x86_64 assembly implementation (diff)
downloadlinux-4a4cc2b6bf475c183443278808b758c702c01404.tar.xz
linux-4a4cc2b6bf475c183443278808b758c702c01404.zip
crypto: aes-x86 - quiet sparse noise about symbol not declared
Include <asm/aes.h> to pick up the declarations for crypto_aes_encrypt_x86 and crypto_aes_decrypt_x86 to quiet the sparse noise: warning: symbol 'crypto_aes_encrypt_x86' was not declared. Should it be static? warning: symbol 'crypto_aes_decrypt_x86' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
-rw-r--r--arch/x86/crypto/aes_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/crypto/aes_glue.c b/arch/x86/crypto/aes_glue.c
index 49ae9fe32b22..b0b6950cc8c8 100644
--- a/arch/x86/crypto/aes_glue.c
+++ b/arch/x86/crypto/aes_glue.c
@@ -4,6 +4,7 @@
*/
#include <crypto/aes.h>
+#include <asm/aes.h>
asmlinkage void aes_enc_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);
asmlinkage void aes_dec_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);