On Tue, May 3, 2022 at 8:43 AM Niels Möller <[email protected]> wrote:

> Maamoun TK <[email protected]> writes:
>
> > I've added Poly1305 optimization based on radix 26 using AVX2 extension
> for
> > x86_64 architecture with fat build support, the patch yields significant
> > speedup compared to upstream.
> > https://git.lysator.liu.se/nettle/nettle/-/merge_requests/46
>
> Cool. Do I get it right, that when AVX2 is enabled, also single block
> poly1305 will use radix 2^26?
>

hmm right, didn't cross my mind. I'll add 2^64 -> 2^26 procedure at
prologue of _nettle_poly1305_4core() and  2^26 -> 2^64 at epilogue to
workaround this.


> Regards,
> /Niels
>
> --
> Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
> Internet email is subject to wholesale government surveillance.
>
_______________________________________________
nettle-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to