Re: [PATCH 3/7] ecc: Add powerpc64 assembly for ecc_256_redc

2021-12-06 Thread Amitay Isaacs
On Wed, 2021-12-01 at 22:58 +0100, Niels Möller wrote: > Amitay Isaacs writes: > > > --- /dev/null > > +++ b/powerpc64/ecc-secp256r1-redc.asm > > @@ -0,0 +1,144 @@ > > +C powerpc64/ecc-secp256r1-redc.asm > > +ifelse(` > > +   Copyright (C) 2021 Amitay Isaacs & Martin Schwenke, IBM > >

Re: powerpc ecc 256 redc (was Re: x86_64 ecc_256_redc)

2021-12-06 Thread Amitay Isaacs
Hi Niels, On Mon, 2021-12-06 at 22:29 +0100, Niels Möller wrote: > ni...@lysator.liu.se (Niels Möller) writes: > > > I think the approach should apply to other 64-bit archs (should > > probably > > work also on x86_64, where it's sometimes tricky to avoid x86_64 > > instructions clobbering the

x86_64 ecc_256_redc (was: Re: ARM64 ecc_256_redc)

2021-12-06 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: > I think the approach should apply to other 64-bit archs (should probably > work also on x86_64, where it's sometimes tricky to avoid x86_64 > instructions clobbering the carry flag when it should be preserved, but > probably not so difficult in this

[PATCH] doc: documentation fot SM3 hash

2021-12-06 Thread Tianjia Zhang
Signed-off-by: Tianjia Zhang --- nettle.texinfo | 74 -- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/nettle.texinfo b/nettle.texinfo index 39d01159..76934637 100644 --- a/nettle.texinfo +++ b/nettle.texinfo @@ -950,6 +950,52 @@

Re: [PATCH v2 1/4] Add OSCCA SM3 hash algorithm

2021-12-06 Thread Tianjia Zhang
Hi Niels, On 12/3/21 4:09 AM, Niels Möller wrote: Tianjia Zhang writes: Hi Niels, Would you mind writing a short description of the algorithm for the manual? I think it should go under "Miscellaneous hash functions". Would be nice with some brief background on this hash function (origin,

Re: ANNOUNCE: Serious bug in Nettle's ecdsa_verify - Critical Confirmation

2021-12-06 Thread Niels Möller
"Jayakumar, Jaikanth" writes: > There is a small confusion, I believe the bug reported here > (https://lists.lysator.liu.se/pipermail/nettle-bugs/2021/009457.html) > is related to CVE-2021-20305, right ? and this (CVE-2021-20305) is > fixed in version 3.7.2. Which *two* problems are you asking