]> git.ipfire.org Git - thirdparty/nettle.git/commit
Simplify ecc_mod, and prepare for separate result argument.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 29 Oct 2020 19:32:02 +0000 (20:32 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 29 Oct 2020 19:32:02 +0000 (20:32 +0100)
commitc17a6a09e82df9640f596ff40ab13e4107c8e889
tree000c07955913311cf5fec365c408d2596112a0ff
parent4c8b0cdd97ffec3ae3f8d995afdfccbc261b3c79
Simplify ecc_mod, and prepare for separate result argument.

* ecc-mod.c (ecc_mod): More unified handling of final carry
folding. Also eliminates a goto statement.
* testsuite/ecc-mod-test.c (test_fixed): Add another test case
ChangeLog
ecc-mod.c
testsuite/ecc-mod-test.c