[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-crypto-vger
Subject: [PATCH 3/4] crypto: cast5 - fix sparse warnings (symbol was not declared, should be static?)
From: Jussi Kivilinna <jussi.kivilinna () mbnet ! fi>
Date: 2012-08-28 13:47:04
Message-ID: 20120828134704.7113.14228.stgit () localhost6 ! localdomain6
[Download RAW message or body]
Fix "symbol 'x' was not declared. Should it be static?" sparse warnings.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
---
include/crypto/cast5.h | 5 +++++
1 file changed, 5 insertions(+)
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
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic