]> git.ipfire.org Git - thirdparty/nettle.git/commit
Trim scratch usage of curve448 operations.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 9 Dec 2019 17:58:53 +0000 (18:58 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 9 Dec 2019 17:58:53 +0000 (18:58 +0100)
commitb5ae97a8892fd4ad2021d58d4af87d95314a8f44
tree35dc0023ba9f90170a617d68a305a097742557e2
parentd13bb31227f9fa58f3b1a41c79d7d39e4a0167b2
Trim scratch usage of curve448 operations.

* ecc-448.c (ecc_mod_pow_446m224m1): Reduce scratch space from 9*n
to 6*n.
(ECC_448_INV_ITCH, ECC_448_SQRT_ITCH): Reduce accordingly.
* curve448-mul.c (curve448_mul): Reduce allocation from 14*n to 12*n.
ChangeLog
curve448-mul.c
ecc-448.c