poly1305: Make prototypes match
PATCH 1/1 poly1305: Make prototypes match
From: Andi Kleen <[email protected]>
gcc 11 complains when arrays in prototypes do not match the function. Fix this here.
--- include/crypto/internal/poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/crypto/internal/poly1305.h +1 -1
@@ -18,7 +18,7 @@* only the ε-almost-∆-universal hash function (not the full MAC) is computed. */ -void poly1305_core_setkey (struct poly1305_core_key *key,const u8 *raw_key); +void poly1305_core_setkey (struct poly1305_core_key *key,const u8 raw_key[16 ]);static inline void poly1305_core_init (struct poly1305_state *state) { *state = (struct poly1305_state ){};
Signature · 1 line
2.25.4
Herbert Xu
maintainerQuoted 11 lines · Andi Kleen
From: Andi Kleen <[email protected]>
gcc 11 complains when arrays in prototypes do not match the function. Fix this here.
Cc Jason A. Donenfeld <[email protected]>Cc Herbert Xu <[email protected]>Signed-off-by Andi Kleen <[email protected]>--- include/crypto/internal/poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Just noticed that this wasn't cc'ed to linux-crypto. Andi, could you please resend with a cc to the list?
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 13 lines · Herbert Xu
Quoted 11 lines · Andi Kleen
From: Andi Kleen <[email protected]>
gcc 11 complains when arrays in prototypes do not match the function. Fix this here.
Cc Jason A. Donenfeld <[email protected]>Cc Herbert Xu <[email protected]>Signed-off-by Andi Kleen <[email protected]>--- include/crypto/internal/poly1305.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 2 lines
Just noticed that this wasn't cc'ed to linux-crypto. Andi, could you please resend with a cc to the list?
I thought it was already fixed by Arnd? I think I collided with him.
-Andi
Herbert Xu
maintainerQuoted 2 lines · Andi Kleen
I thought it was already fixed by Arnd? I think I collided with him.
Nevermind, you are right Andi.
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt