]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
*** empty log message ***
authorNiels Möller <nisse@lysator.liu.se>
Wed, 9 Oct 2002 19:34:53 +0000 (21:34 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 9 Oct 2002 19:34:53 +0000 (21:34 +0200)
Rev: src/nettle/ChangeLog:1.123

ChangeLog

index 1fea9d506710893ab70170b92dcacee91072d65b..21697889be9218097c02832f306b467138db1563 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,34 @@
 2002-10-09  Niels Möller  <nisse@cuckoo.hack.org>
 
+       * testsuite/testutils.c (test_dsa): Needs both public and private
+       key as arguments.
+
+       * testsuite/dsa-test.c (test_main): Updated to changes of the
+       private key struct.
+
+       * testsuite/Makefile.am (TS_PROGS): Added dsa-test.
+
+       * rsa-decrypt.c (rsa_decrypt): Constification.
+       * rsa-encrypt.c (rsa_encrypt): Likewise.
+       * rsa.c (rsa_compute_root): Likewise.
+       * rsa_md5.c (rsa_md5_sign): Likewise.
+       (rsa_md5_verify): Likewise.
+       * rsa_sha1.c (rsa_sha1_sign): Likewise.
+       (rsa_sha1_verify): Likewise.
+
+       * dsa-verify.c (dsa_verify): Use const for the public key
+       argument. 
+
+       * dsa-sign.c (dsa_sign): Needs the public key as argument, in
+       addition to the private key. Use const.
+
+       * dsa.h (struct dsa_private_key): Don't include the public
+       information here. 
+       * dsa.c (dsa_private_key_init, dsa_private_key_clear): Updated to
+       new struct dsa_private_key.  
+
+       * dsa-sign.c (dsa_sign): Bugfix, added missing mpz_init call. 
+
        * Makefile.am (libnettle_a_SOURCES): Added dsa files.
        (libnettleinclude_HEADERS): Added dsa.h.