]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(struct rsa_private_key): Deleted public key and d from
authorNiels Möller <nisse@lysator.liu.se>
Mon, 14 Jan 2002 01:57:57 +0000 (02:57 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 14 Jan 2002 01:57:57 +0000 (02:57 +0100)
the struct, as they are not needed. Added size attribute.

Rev: src/nettle/rsa.h:1.6

rsa.h

diff --git a/rsa.h b/rsa.h
index 295abc31b8b58c92c2f66474191717d16cce73bd..23ee7a7e3387b836d14d19d42cedb12446684f17 100644 (file)
--- a/rsa.h
+++ b/rsa.h
@@ -47,11 +47,8 @@ struct rsa_public_key
 
 struct rsa_private_key
 {
-  struct rsa_public_key pub;
+  unsigned size;
   
-  /* Secret exponent */
-  mpz_t d;
-
   /* The two factors */
   mpz_t p; mpz_t q;