summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-08-28 16:47:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-09-07 04:17:05 +0800
commit3cfad0d03ccb0fa7932398caecf97d11ab654a77 (patch)
tree609c324e7a778f2783682ce919889b3297a5fd1d
parent1ffb72a39a92c1a03b3c732280e924c02c509cd3 (diff)
downloadop-kernel-dev-3cfad0d03ccb0fa7932398caecf97d11ab654a77.zip
op-kernel-dev-3cfad0d03ccb0fa7932398caecf97d11ab654a77.tar.gz
crypto: cast5 - 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/cast5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypto/cast5.h b/include/crypto/cast5.h
index dcb90c1..586183a 100644
--- a/include/crypto/cast5.h
+++ b/include/crypto/cast5.h
@@ -19,4 +19,9 @@ int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
+extern const u32 cast5_s1[256];
+extern const u32 cast5_s2[256];
+extern const u32 cast5_s3[256];
+extern const u32 cast5_s4[256];
+
#endif
OpenPOWER on IntegriCloud