Skip to content

Commit 3cfad0d

Browse files
jkivilinherbertx
authored andcommitted
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>
1 parent 1ffb72a commit 3cfad0d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/crypto/cast5.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
1919
void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
2020
void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
2121

22+
extern const u32 cast5_s1[256];
23+
extern const u32 cast5_s2[256];
24+
extern const u32 cast5_s3[256];
25+
extern const u32 cast5_s4[256];
26+
2227
#endif

0 commit comments

Comments
 (0)