summaryrefslogtreecommitdiff
path: root/rsa-sign.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2003-01-27 23:08:34 +0100
committerNiels Möller <nisse@lysator.liu.se>2003-01-27 23:08:34 +0100
commitd41a05cbdf72061237d132fa2cc7fad5b0417ee8 (patch)
tree87e4acb6b948420214be1bff1b408c9a036b6db8 /rsa-sign.c
parent5fd0050524c11a2f74ee5d99167c53f151f71ae2 (diff)
downloadnettle-d41a05cbdf72061237d132fa2cc7fad5b0417ee8.tar.gz
* rsa-sign.c (rsa_private_key_init, rsa_private_key_clear)
(rsa_private_key_prepare): Renamed functions. * rsa.c (rsa_public_key_init, rsa_public_key_clear) (rsa_public_key_prepare): Renamed functions. Rev: src/nettle/NEWS:1.9 Rev: src/nettle/rsa-sign.c:1.2 Rev: src/nettle/rsa.c:1.11 Rev: src/nettle/rsa.h:1.19
Diffstat (limited to 'rsa-sign.c')
-rw-r--r--rsa-sign.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsa-sign.c b/rsa-sign.c
index 6a50685f..7eb46280 100644
--- a/rsa-sign.c
+++ b/rsa-sign.c
@@ -34,7 +34,7 @@
#include "bignum.h"
void
-rsa_init_private_key(struct rsa_private_key *key)
+rsa_private_key_init(struct rsa_private_key *key)
{
mpz_init(key->d);
mpz_init(key->p);
@@ -49,7 +49,7 @@ rsa_init_private_key(struct rsa_private_key *key)
}
void
-rsa_clear_private_key(struct rsa_private_key *key)
+rsa_private_key_clear(struct rsa_private_key *key)
{
mpz_clear(key->d);
mpz_clear(key->p);
@@ -60,7 +60,7 @@ rsa_clear_private_key(struct rsa_private_key *key)
}
int
-rsa_prepare_private_key(struct rsa_private_key *key)
+rsa_private_key_prepare(struct rsa_private_key *key)
{
/* FIXME: Add further sanity checks. */