From: Dmitry Baryshkov <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
---
ecc-gost-gc512a.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/ecc-gost-gc512a.c b/ecc-gost-gc512a.c
index 4baec1f5945d..6d210925b609 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,
},
--
2.24.1
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs