summaryrefslogtreecommitdiff
path: root/ecc-ecdsa-sign.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated itch macros for ecc point multiplication and signaturesrefactor-ecc-modNiels Möller2020-11-081-1/+1
|
* Separate result area for ecc_mod_mul and ecc_mod_sqr.Niels Möller2020-11-011-2/+2
| | | | | | | | * 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-3/+3
| | | | | | | 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>
* Changed ecc_hash argument type from struct ecc_curve to struct ecc_modulo.Niels Möller2014-09-231-1/+1
|
* ecc_mod_inv interface and allocation changes.Niels Möller2014-09-231-3/+2
|
* 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-10/+10
|
* ecc_ecdsa_sign: Use mul_g and h_to_a function pointers.Niels Möller2014-08-281-4/+5
| | | | Implies (obscure) support for curve25519. Also added a testcase for this.
* Deleted unused variable.Niels Möller2014-08-281-1/+0
|
* ecc_j_to_a interface change, optionally reduce x mod q.Niels Möller2014-08-281-7/+2
|
* Update copyright headers for dual licensing.Niels Möller2014-04-121-21/+30
|
* Use size_t for ecc functions.Niels Möller2013-04-261-1/+1
|
* Changed name "Internetfonden" to "the .SE Internet Fund".Niels Möller2013-04-051-1/+1
|
* Integrated ECDSA sign and verify functions.Niels Möller2013-02-181-0/+97