summaryrefslogtreecommitdiff
path: root/ecc-add-eh.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2019-12-14 10:00:23 +0100
committerNiels Möller <nisse@lysator.liu.se>2019-12-14 10:00:23 +0100
commitb33eea3b4a3eb5ea07c9615f195f84d43cda5178 (patch)
tree31418e79b695a373688f2a674a245b53e56ff0d0 /ecc-add-eh.c
parent39af4a6ad4245aefe1e39e75972ec7d542fcde9f (diff)
downloadnettle-b33eea3b4a3eb5ea07c9615f195f84d43cda5178.tar.gz
New function ecc_mul_m.
* curve25519-mul.c (curve25519_mul): Use ecc_mul_m. * curve448-mul.c (curve448_mul): Likewise. * ecc-mul-m.c (ecc_mul_m): New file and function. Implements multipliction for curves in Montgomery representation, as used for curve25519 and curve448. Extracted from curve25519_mul. * ecc-internal.h (ecc_mul_m): Declare. (ECC_MUL_M_ITCH): New macro. * Makefile.in (hogweed_SOURCES): Add ecc-mul-m.c.
Diffstat (limited to 'ecc-add-eh.c')
0 files changed, 0 insertions, 0 deletions