From: Niels Möller Date: Wed, 9 Oct 2002 19:28:56 +0000 (+0200) Subject: * dsa.h (struct dsa_private_key): Don't include the public X-Git-Tag: nettle_1.7_release_20030311~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8675a35bd4ccb22cd05ab2ba1c70ad36337db032;p=thirdparty%2Fnettle.git * 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.h, dsa.c, dsa-sign.c, dsa-verify.c: New files. Rev: src/nettle/dsa.c:1.2 --- diff --git a/dsa.c b/dsa.c index ae9f4bb9..d259a233 100644 --- 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); }