From 35434c5fb7919bbc1112d9da2c19b5ea79fb7850 Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Tue, 28 Aug 2012 16:47:09 +0300 Subject: crypto: cast6 - fix sparse warnings (symbol was not declared, should be static?) Fix "symbol 'x' was not declared. Should it be static?" sparse warnings. Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- include/crypto/cast6.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/crypto/cast6.h') diff --git a/include/crypto/cast6.h b/include/crypto/cast6.h index 02dde6b77e15..157af6f342c8 100644 --- a/include/crypto/cast6.h +++ b/include/crypto/cast6.h @@ -20,4 +20,9 @@ int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen); void __cast6_encrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src); void __cast6_decrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src); +extern const u32 cast6_s1[256]; +extern const u32 cast6_s2[256]; +extern const u32 cast6_s3[256]; +extern const u32 cast6_s4[256]; + #endif -- cgit v1.2.3