[PATCH 4/4] crypto: cast6 - fix sparse warnings (symbol was not declared, should be static?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix "symbol 'x' was not declared. Should it be static?" sparse warnings.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx>
---
 include/crypto/cast6.h |    5 +++++
 1 file changed, 5 insertions(+)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux