secp256r1 mod functions

2021-10-22 Thread Niels Möller
Hi, a while ago I was asked to explain the 64-bit C versions of ecc_secp256r1_modp and ecc_secp256r1_modq (in ecc-secp256r1.c), and I found that a bit difficult. I've rewritten them, on branch https://git.lysator.liu.se/nettle/nettle/-/blob/secp256r1-mod/ecc-secp256r1.c. Main difference is

Re: [S390x] Optimize SHA3 permute using vector facility

2021-10-22 Thread Maamoun TK
On Fri, Oct 22, 2021 at 10:45 AM Niels Möller wrote: > Maamoun TK writes: > > > I've added a new patch that optimizes SHA3 permute function for S390x > > architecture > https://git.lysator.liu.se/nettle/nettle/-/merge_requests/36 > > More about the patch in merge request description. > > Really

Re: [S390x] Optimize SHA3 permute using vector facility

2021-10-22 Thread Niels Möller
Maamoun TK writes: > I've added a new patch that optimizes SHA3 permute function for S390x > architecture https://git.lysator.liu.se/nettle/nettle/-/merge_requests/36 > More about the patch in merge request description. Really nice speedup, and interesting that it's significantly faster than