Skip to content

Commit 51982ea

Browse files
committed
crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon
This patch adds a prototype for poly1305_blocks_neon to slience a compiler warning: CC [M] arch/arm/crypto/poly1305-glue.o ../arch/arm/crypto/poly1305-glue.c:25:13: warning: no previous prototype for `poly1305_blocks_neon' [-Wmissing-prototypes] void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit) ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent bbb2832 commit 51982ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/crypto/poly1305-glue.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
void poly1305_init_arm(void *state, const u8 *key);
2222
void poly1305_blocks_arm(void *state, const u8 *src, u32 len, u32 hibit);
23+
void poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit);
2324
void poly1305_emit_arm(void *state, u8 *digest, const u32 *nonce);
2425

2526
void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit)

0 commit comments

Comments
 (0)