summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-01-14 02:57:57 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-01-14 02:57:57 +0100
commit010df2886c2197c0a8f311a3fdb05a00e1c73471 (patch)
treea9aaec9b49d23f4492ea6f0ab91b2c8d512d8367 /rsa.h
parentf9e3fbf9c84ada22370b8557e443d0f2572f99ed (diff)
downloadnettle-010df2886c2197c0a8f311a3fdb05a00e1c73471.tar.gz
(struct rsa_private_key): Deleted public key and d from
the struct, as they are not needed. Added size attribute. Rev: src/nettle/rsa.h:1.6
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/rsa.h b/rsa.h
index 295abc31..23ee7a7e 100644
--- 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;