]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* dsa.h (struct dsa_private_key): Don't include the public
authorNiels Möller <nisse@lysator.liu.se>
Wed, 9 Oct 2002 19:28:56 +0000 (21:28 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 9 Oct 2002 19:28:56 +0000 (21:28 +0200)
information here.
* dsa.c (dsa_private_key_init, dsa_private_key_clear): Updated to
new struct dsa_private_key.

* dsa.h, dsa.c, dsa-sign.c, dsa-verify.c: New files.

Rev: src/nettle/dsa.c:1.2

dsa.c

diff --git a/dsa.c b/dsa.c
index ae9f4bb9b006d90b9927d82609f743367da810cd..d259a2330d0fb88f0ffb304bb1596c382a102098 100644 (file)
--- a/dsa.c
+++ b/dsa.c
@@ -55,14 +55,12 @@ dsa_public_key_clear(struct dsa_public_key *key)
 void
 dsa_private_key_init(struct dsa_private_key *key)
 {
-  dsa_public_key_init(&key->pub);
   mpz_init(key->x);
 }
 
 void
 dsa_private_key_clear(struct dsa_private_key *key)
 {
-  dsa_public_key_clear(&key->pub);
   mpz_clear(key->x);
 }