]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Merge branch 'ecc-gost'
authorNiels Möller <nisse@lysator.liu.se>
Tue, 28 Jan 2020 15:26:06 +0000 (16:26 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 28 Jan 2020 15:26:06 +0000 (16:26 +0100)
1  2 
ChangeLog

diff --cc ChangeLog
index 1946eda897b427facd9881ef3adc848ec15eb173,3ff4b0f18b8d9d38e9b71866bd96a896d42fb0fc..38781996167a240a5864c464dd64c6b8372b07c2
+++ b/ChangeLog
@@@ -1,7 -1,32 +1,34 @@@
  2020-01-26  Niels Möller  <nisse@lysator.liu.se>
  
+       Support for GOST DSA, contributed by Dmitry Baryshkov.
+       * gostdsa-verify.c (gostdsa_verify): New file and function.
+       * gostdsa-sign.c (gostdsa_sign): New file and function.
+       * ecc-gostdsa-verify.c (ecdsa_in_range, ecc_gostdsa_verify_itch)
+       (ecc_gostdsa_verify): New file and functions.
+       * ecc-gostdsa-sign.c (ecc_gostdsa_sign_itch, ecc_gostdsa_sign):
+       New file and functions.
+       * ecc-internal.h (ECC_GOSTDSA_SIGN_ITCH): New macro.
+       * ecc-hash.c (gost_hash): New function.
+       * testsuite/gostdsa-verify-test.c: New test.
+       * testsuite/gostdsa-sign-test.c: New test.
+       * testsuite/gostdsa-keygen-test.c: New test.
+       * testsuite/Makefile.in (TS_HOGWEED_SOURCES): Add new tests.
+       Support for GOST gc256b and gc512a curves, contributed by Dmitry
+       Baryshkov.
+       * eccdata.c (ecc_curve_init): Add parameters for gost_gc256b and
+       gost_gc512a.
+       * ecc-gost-gc256b.c: New file, define _nettle_gost_gc256b.
+       * ecc-gost-gc512a.c: New file, define _nettle_gost_gc512a.
+       * Makefile.in: Add rules to generate ecc-gost-gc256b.h and
+       ecc-gost-gc512a.h.
+       (hogweed_SOURCES): Add ecc-gost-gc256b.c ecc-gost-gc512a.c.
+       * examples/ecc-benchmark.c (curves): Add to list.
+       * testsuite/testutils.c (ecc_curves): Add to list.
+       (test_ecc_mul_a): Reference points for new curves.
 +      * NEWS: Started on entries for Nettle-3.6.
 +
  2020-01-25  Niels Möller  <nisse@lysator.liu.se>
  
        * examples/hogweed-benchmark.c (bench_curve_init): Pass correct