summaryrefslogtreecommitdiff
path: root/ecc-add-thh.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce scratch need for ecc_add_thhNiels Möller2020-11-031-32/+29
|
* Separate result area for ecc_mod_mul and ecc_mod_sqr.Niels Möller2020-11-011-12/+12
| | | | | | | | * ecc-mod-arith.c (ecc_mod_mul, ecc_mod_sqr): Separate argument for scratch area, reducing required size of result area. Update all callers to naïvely keep using result in scratch area. (ecc_mod_pow_2k, ecc_mod_pow_2k_mul): Simplified, also reducing required size of result area.
* ecc: remove ecc_modp_foo/ecc_modq_foo macrosDmitry Baryshkov2020-02-151-21/+21
| | | | | | | To make ecc functions usage more obvious remove ecc_modp_foo() and ecc_modq_foo() wrapper macros. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Rename add and dup functions for Edwards curves.Niels Möller2019-12-181-0/+116