1 From 55a3d2044f411ecf291777f31053b8d8ee81c051 Mon Sep 17 00:00:00 2001
2 From: Herbert Xu <herbert@gondor.apana.org.au>
3 Date: Tue, 25 Aug 2020 11:23:00 +1000
4 Subject: [PATCH 062/124] crypto: arm/poly1305 - Add prototype for
7 commit 51982ea02aef972132eb35c583d3e4c5b83166e5 upstream.
9 This patch adds a prototype for poly1305_blocks_neon to slience
12 CC [M] arch/arm/crypto/poly1305-glue.o
13 ../arch/arm/crypto/poly1305-glue.c:25:13: warning: no previous prototype for `poly1305_blocks_neon' [-Wmissing-prototypes]
14 void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit)
17 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
19 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
20 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
22 arch/arm/crypto/poly1305-glue.c | 1 +
23 1 file changed, 1 insertion(+)
25 --- a/arch/arm/crypto/poly1305-glue.c
26 +++ b/arch/arm/crypto/poly1305-glue.c
29 void poly1305_init_arm(void *state, const u8 *key);
30 void poly1305_blocks_arm(void *state, const u8 *src, u32 len, u32 hibit);
31 +void poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit);
32 void poly1305_emit_arm(void *state, u8 *digest, const u32 *nonce);
34 void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit)