diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-07-18 22:52:36 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-07-18 22:52:36 +0200 |
commit | c68cc1f05fe738bef97341face72e516490df209 (patch) | |
tree | d3455473c88e45bf5056f0919859fcfc82128256 /ecc.h | |
parent | ed3377db8416935dc4ad8263da5f9b3d12c5c26b (diff) | |
download | nettle-c68cc1f05fe738bef97341face72e516490df209.tar.gz |
Implemented ecc_mul_g_eh. Untested.
Diffstat (limited to 'ecc.h')
-rw-r--r-- | ecc.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -79,6 +79,8 @@ extern "C" { #define ecc_mul_g nettle_ecc_mul_g #define ecc_mul_a_itch nettle_ecc_mul_a_itch #define ecc_mul_a nettle_ecc_mul_a +#define ecc_mul_g_eh_itch nettle_ecc_mul_g_eh_itch +#define ecc_mul_g_eh nettle_ecc_mul_g_eh struct ecc_curve; @@ -284,6 +286,12 @@ ecc_mul_a (const struct ecc_curve *ecc, const mp_limb_t *np, const mp_limb_t *p, mp_limb_t *scratch); +mp_size_t +ecc_mul_g_eh_itch (const struct ecc_curve *ecc); +void +ecc_mul_g_eh (const struct ecc_curve *ecc, mp_limb_t *r, + const mp_limb_t *np, mp_limb_t *scratch); + #ifdef __cplusplus } #endif |