From 761cb98655e5720359814c5afe5e0c7996103f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Wed, 9 Oct 2002 23:17:08 +0200 Subject: [PATCH] *** empty log message *** Rev: src/nettle/ChangeLog:1.124 Rev: src/nettle/testsuite/.cvsignore:1.20 --- ChangeLog | 27 +++++++++++++++++++++++++++ testsuite/.cvsignore | 1 + testsuite/.gitignore | 1 + 3 files changed, 29 insertions(+) diff --git a/ChangeLog b/ChangeLog index 21697889..84f85a19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,32 @@ 2002-10-09 Niels Möller <nisse@cuckoo.hack.org> + * Makefile.am (libnettle_a_SOURCES): Added bignum-random.c and + dsa-keygen.c. + + * testsuite/testutils.c (test_dsa_key): New function to sanity + check a dsa keypair. + + * testsuite/dsa-test.c (test_main): Call dsa_test_key. + + * testsuite/dsa-keygen-test.c: New test case. + + * dsa.h (DSA_MINIMUM_BITS): New constant. + + * bignum.h (nettle_mpz_random, nettle_mpz_random_size): Added + prototypes. + + * dsa-keygen.c: New file. + + * bignum-random.c: New file. + (nettle_mpz_random): New function, moved from... + * dsa-sign.c (nettle_mpz_random): ... here. Also changed argument + ordering and updated callers. + + * bignum-random.c: (nettle_mpz_random_size): New function, renamed + and moved here from... + * rsa-keygen.c (bignum_random_size): ... here. Updated all + callers. + * testsuite/testutils.c (test_dsa): Needs both public and private key as arguments. diff --git a/testsuite/.cvsignore b/testsuite/.cvsignore index ce920987..102da7bc 100644 --- a/testsuite/.cvsignore +++ b/testsuite/.cvsignore @@ -12,6 +12,7 @@ cbc-test des-compat-test des-test des3-test +dsa-keygen-test dsa-test hmac-test knuth-lfib-test diff --git a/testsuite/.gitignore b/testsuite/.gitignore index f32a7864..60d2bbbb 100644 --- a/testsuite/.gitignore +++ b/testsuite/.gitignore @@ -12,6 +12,7 @@ /des-compat-test /des-test /des3-test +/dsa-keygen-test /dsa-test /hmac-test /knuth-lfib-test -- GitLab