projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cfad0d
)
crypto: cast6 - fix sparse warnings (symbol was not declared, should be static?)
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Tue, 28 Aug 2012 13:47:09 +0000
(16:47 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 6 Sep 2012 20:17:06 +0000
(
04:17
+0800)
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>
include/crypto/cast6.h
patch
|
blob
|
blame
|
history
diff --git
a/include/crypto/cast6.h
b/include/crypto/cast6.h
index 02dde6b77e159a66492a8c354c99cd4c45e4938e..157af6f342c80229d008c345ac2a5dfc640de587 100644
(file)
--- 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