From 010df2886c2197c0a8f311a3fdb05a00e1c73471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 14 Jan 2002 02:57:57 +0100 Subject: [PATCH] (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 --- rsa.h | 5 +---- 1 file changed, 1 insertion(+), 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; -- GitLab