summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-08-28 16:47:09 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-09-07 04:17:06 +0800
commit35434c5fb7919bbc1112d9da2c19b5ea79fb7850 (patch)
treef129df9e17b2be8b20ee77ad5e5d8a313b018c51
parent3cfad0d03ccb0fa7932398caecf97d11ab654a77 (diff)
downloadop-kernel-dev-35434c5fb7919bbc1112d9da2c19b5ea79fb7850.zip
op-kernel-dev-35434c5fb7919bbc1112d9da2c19b5ea79fb7850.tar.gz
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 <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/crypto/cast6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypto/cast6.h b/include/crypto/cast6.h
index 02dde6b..157af6f 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
OpenPOWER on IntegriCloud