Skip to content

Commit 35434c5

Browse files
jkivilinherbertx
authored andcommitted
crypto: cast6 - 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 3cfad0d commit 35434c5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/crypto/cast6.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
2020
void __cast6_encrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
2121
void __cast6_decrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
2222

23+
extern const u32 cast6_s1[256];
24+
extern const u32 cast6_s2[256];
25+
extern const u32 cast6_s3[256];
26+
extern const u32 cast6_s4[256];
27+
2328
#endif

0 commit comments

Comments
 (0)