Travel

2020-01-18 Thread Niels Möller
FYI, I'll be traveling to the US next two weeks, first to Mountain View
(close to San Franscisco) and then to Kirkland (close to Seattle). I'll
read email from time to time, but not sure how much time I'll get for
Nettle hacking. If any of you are in these areas, it would be nice to
meet.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

___
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs


[PATCH 0/2] two small fixes for ecc-gost branch

2020-01-18 Thread dbaryshkov
Hello,

Two small fixes to go on top of ecc-gost branch. These two patches can
be squashed into respective patches or just live as separate instances,
whatever you would prefer.

-- 
With best wishes
Dmitry


___
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs


[PATCH 2/2] .gitignore: correct generated header names

2020-01-18 Thread dbaryshkov
From: Dmitry Baryshkov 

Signed-off-by: Dmitry Baryshkov 
---
 .gitignore | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2e64c187574f..48e2b7f464da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,8 +45,8 @@ core
 /rotors.h
 /ecc-curve25519.h
 /ecc-curve448.h
-/ecc-gc256b.h
-/ecc-gc512a.h
+/ecc-gost-gc256b.h
+/ecc-gost-gc512a.h
 /ecc-secp192r1.h
 /ecc-secp224r1.h
 /ecc-secp256r1.h
-- 
2.24.1

___
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs


[PATCH 1/2] gost gc512a: rename functions to follow usual pattern

2020-01-18 Thread dbaryshkov
From: Dmitry Baryshkov 

Signed-off-by: Dmitry Baryshkov 
---
 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
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs