Re: [PATCH 4/5] Glue code for optmized Poly1305 implementation for ppc64le.

2023-04-25 Thread Danny Tsen
Did not notice that.  Will do fix it. Thanks. -Danny On 4/25/23 12:44 AM, Herbert Xu wrote: On Mon, Apr 24, 2023 at 02:47:25PM -0400, Danny Tsen wrote: + if (likely(srclen >= POLY1305_BLOCK_SIZE)) { + bytes = round_down(srclen, POLY1305_BLOCK_SIZE); + used =

Re: [PATCH 4/5] Glue code for optmized Poly1305 implementation for ppc64le.

2023-04-24 Thread Herbert Xu
On Mon, Apr 24, 2023 at 02:47:25PM -0400, Danny Tsen wrote: > > + if (likely(srclen >= POLY1305_BLOCK_SIZE)) { > + bytes = round_down(srclen, POLY1305_BLOCK_SIZE); > + used = crypto_poly1305_setdctxkey(dctx, src, bytes); > + if (likely(used)) { > +

[PATCH 4/5] Glue code for optmized Poly1305 implementation for ppc64le.

2023-04-24 Thread Danny Tsen
Signed-off-by: Danny Tsen --- arch/powerpc/crypto/poly1305-p10-glue.c | 186 1 file changed, 186 insertions(+) create mode 100644 arch/powerpc/crypto/poly1305-p10-glue.c diff --git a/arch/powerpc/crypto/poly1305-p10-glue.c b/arch/powerpc/crypto/poly1305-p10-glue.c new