Multi-block poly1303 code (was: Re: Fwd: [Arm64, PowerPC64, S390x] Optimize Poly1305)

2022-10-24 Thread Niels Möller
Maamoun TK writes: > I think the design could be as simple as always padding each block with > 0x01 in _nettle_poly1305_update while keeping _nettle_poly1305_block that > is responsible for processing last block takes variable padding values (0 > or 1). I committed an update in > https://git.lysa

Re: Multi-block poly1303 code (was: Re: Fwd: [Arm64, PowerPC64, S390x] Optimize Poly1305)

2022-10-25 Thread Maamoun TK
On Mon, Oct 24, 2022 at 9:44 PM Niels Möller wrote: > Maamoun TK writes: > > > I think the design could be as simple as always padding each block with > > 0x01 in _nettle_poly1305_update while keeping _nettle_poly1305_block that > > is responsible for processing last block takes variable padding

Re: Multi-block poly1303 code (was: Re: Fwd: [Arm64, PowerPC64, S390x] Optimize Poly1305)

2022-10-25 Thread Maamoun TK
On Tue, Oct 25, 2022 at 7:04 PM Maamoun TK wrote: > On Mon, Oct 24, 2022 at 9:44 PM Niels Möller wrote: > >> Maamoun TK writes: >> >> > I think the design could be as simple as always padding each block with >> > 0x01 in _nettle_poly1305_update while keeping _nettle_poly1305_block >> that >> >