Maamoun TK <maamoun...@googlemail.com> writes: > On Mon, Nov 30, 2020 at 10:56 PM Niels Möller <ni...@lysator.liu.se> 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., >> >> addi r10, r1, -0x40 C Save callee-save registers >> stvx v20, 0, r10 >> stvx v21, r6, r10 >> stvx v22, r7, r10 >> stvx v23, r8, r10 >> > > This is totally fine.
I changed it to do this (and it looks like you use the protected zone as a save area also in the new aes code). How portable is this, do all relevant operating systems support storing data below the stack pointer? Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list nettle-bugs@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs