summaryrefslogtreecommitdiff
path: root/curve25519-mul.c
Commit message (Collapse)AuthorAgeFilesLines
* New function ecc_mul_m.Niels Möller2019-12-141-97/+14
| | | | | | | | | | | | * 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.
* Add FIXME comment.Niels Möller2016-06-201-0/+1
|
* Update curve25519_mul, to align with RFC 7748.Niels Möller2016-04-251-0/+4
|
* Rename nettle_curve25519 to _nettle_curve25519, and remove declaration from ↵Niels Möller2015-03-191-1/+1
| | | | ecc-curve.h.
* Changed return type for curve25519_mul to void.Niels Möller2015-03-101-2/+1
|
* ecc_mod_inv interface and allocation changes.Niels Möller2014-09-231-1/+1
|
* Added invert function pointer to struct ecc_modulo.Niels Möller2014-09-221-1/+1
| | | | | Updated and renamed sec_modinv -> ecc_mod_inv, and deleted the ecc_modp_inv and ecc_modq_inv wrapper functions.
* Introduced struct ecc_modulo.Niels Möller2014-09-221-24/+24
|
* Use Montgomery ladder for curve25519_mul.Niels Möller2014-09-091-37/+90
|
* New function curve25519_eh_to_x.Niels Möller2014-09-021-1/+1
|
* ecc_eh_to_a interface change, optionally reduce x mod q.Niels Möller2014-08-281-1/+1
|
* Implemented curve25519_mul.Niels Möller2014-08-181-0/+90