Re: [Arm64, PowerPC64, S390x] Optimize Poly1305

2022-05-04 Thread Maamoun TK
On Tue, May 3, 2022 at 9:55 AM Maamoun TK wrote: > On Tue, May 3, 2022 at 9:26 AM Niels Möller wrote: > >> Maamoun TK writes: >> >> > 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 th

Re: [Arm64, PowerPC64, S390x] Optimize Poly1305

2022-05-04 Thread Niels Möller
Maamoun TK writes: > I'm thinking of extending the structure layout of 'poly1305_ctx' to take in > pre-computed powers of key. How backward compatible would it be to append > additional key arrays to that structure? It would break ABI compatibility, and require a new library soname. Other than t