linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon
@ 2020-08-25  1:23 Herbert Xu
  2020-08-25  7:28 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2020-08-25  1:23 UTC (permalink / raw)
  To: Linux Crypto Mailing List; +Cc: Ard Biesheuvel, Jason A. Donenfeld

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>

diff --git a/arch/arm/crypto/poly1305-glue.c b/arch/arm/crypto/poly1305-glue.c
index 13cfef4ae22e..3023c1acfa19 100644
--- a/arch/arm/crypto/poly1305-glue.c
+++ b/arch/arm/crypto/poly1305-glue.c
@@ -20,6 +20,7 @@
 
 void poly1305_init_arm(void *state, const u8 *key);
 void poly1305_blocks_arm(void *state, const u8 *src, u32 len, u32 hibit);
+void poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit);
 void poly1305_emit_arm(void *state, u8 *digest, const u32 *nonce);
 
 void __weak poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit)
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon
  2020-08-25  1:23 [PATCH] crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon Herbert Xu
@ 2020-08-25  7:28 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2020-08-25  7:28 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linux Crypto Mailing List, Ard Biesheuvel

On Tue, Aug 25, 2020 at 3:23 AM Herbert Xu <herbert@gondor.apana.org.au> wrote:
>
> 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>
>
> diff --git a/arch/arm/crypto/poly1305-glue.c b/arch/arm/crypto/poly1305-glue.c
> index 13cfef4ae22e..3023c1acfa19 100644
> --- a/arch/arm/crypto/poly1305-glue.c
> +++ b/arch/arm/crypto/poly1305-glue.c
> @@ -20,6 +20,7 @@
>
>  void poly1305_init_arm(void *state, const u8 *key);
>  void poly1305_blocks_arm(void *state, const u8 *src, u32 len, u32 hibit);
> +void poly1305_blocks_neon(void *state, const u8 *src, u32 len, u32 hibit);

LGTM.

Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-25  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25  1:23 [PATCH] crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon Herbert Xu
2020-08-25  7:28 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).