Re: Fwd: [PowerPC] GCM optimization

2020-12-01 Thread George Wilson
On Tue, Dec 01, 2020 at 07:55:05PM +0200, Maamoun TK wrote: > Hi George, > I'll start writing a white paper called "Optimizing Galois-Counter-Mode on > PowerPC Architecture Processors". Once I finish the first draft I'll send > it to Neils to review it. > > > > What do you need from the IBM

Re: PPC chacha

2020-12-01 Thread Niels Möller
Maamoun TK writes: > On Mon, Nov 30, 2020 at 11:18 PM Maamoun TK > wrote: > >> on POWER9 I get the following benchmark with ". /configure >> --enable-power-altivec": >> >> chacha encrypt 763.57 >> chacha decrypt 780.64 >> >> regards, >> Mamone >> > > I got this result using

Re: PPC chacha

2020-12-01 Thread Niels Möller
Maamoun TK writes: > On Mon, Nov 30, 2020 at 10:56 PM Niels Möller wrote: > >> Hmm. I agree just lowering the stack pointer sounds a bit questionable. >> But if we use some other register to point into the protected zone, we >> should be fine? E.g., >> >> addir10, r1, -0x40 C Save

Re: Fwd: [PowerPC] GCM optimization

2020-12-01 Thread Maamoun TK
Hi George, I'll start writing a white paper called "Optimizing Galois-Counter-Mode on PowerPC Architecture Processors". Once I finish the first draft I'll send it to Neils to review it. > What do you need from the IBM side? I may be able to help. We'd > definitely > like to support you and