diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-01-18 16:01:44 +0300 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-01-23 14:45:40 +0100 |
commit | 7c395bff9ef80f3c0d2b95d10eb9f71c316ea50c (patch) | |
tree | 3986882c7dbaa5311a1db79a99803acfb141a1fd | |
parent | cf4675dc7b7dcad802a47475af63ed30e07a54f6 (diff) | |
download | nettle-7c395bff9ef80f3c0d2b95d10eb9f71c316ea50c.tar.gz |
gost gc512a: rename functions to follow usual pattern
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
-rw-r--r-- | ecc-gost-gc512a.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ecc-gost-gc512a.c b/ecc-gost-gc512a.c index 4baec1f5..6d210925 100644 --- a/ecc-gost-gc512a.c +++ b/ecc-gost-gc512a.c @@ -43,7 +43,7 @@ #include "ecc-gost-gc512a.h" static void -ecc_gc512a_modp (const struct ecc_modulo *m, mp_limb_t *rp) +ecc_gost_gc512a_modp (const struct ecc_modulo *m, mp_limb_t *rp) { mp_size_t mn = m->size; mp_limb_t hi; @@ -54,8 +54,8 @@ ecc_gc512a_modp (const struct ecc_modulo *m, mp_limb_t *rp) assert(hi == 0); } -#define ecc_gc512a_modp ecc_gc512a_modp -#define ecc_gc512a_modq ecc_mod +#define ecc_gost_gc512a_modp ecc_gost_gc512a_modp +#define ecc_gost_gc512a_modq ecc_mod const struct ecc_curve _nettle_gost_gc512a = { @@ -73,8 +73,8 @@ const struct ecc_curve _nettle_gost_gc512a = ecc_redc_ppm1, ecc_pp1h, - ecc_gc512a_modp, - ecc_gc512a_modp, + ecc_gost_gc512a_modp, + ecc_gost_gc512a_modp, ecc_mod_inv, NULL, }, @@ -92,8 +92,8 @@ const struct ecc_curve _nettle_gost_gc512a = NULL, ecc_qp1h, - ecc_gc512a_modq, - ecc_gc512a_modq, + ecc_gost_gc512a_modq, + ecc_gost_gc512a_modq, ecc_mod_inv, NULL, }, |