[curves] curve25519-donna stack usage

Jason A. Donenfeld Jason at zx2c4.com
Wed Nov 9 13:01:47 PST 2016


Hi Mike,

Indeed the stack usage for 32bit is huge. On MIPS32r2 with -O3, donna
uses 2872 bytes of stack!

I'd love to see your micro implementation! Let me know if you ever
succeed in MITing that. The performance hit might be a bit of a
bummer, though, but on 32bit 25% seems quite acceptable.

Jason


More information about the Curves mailing list