summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-11-03 00:47:01 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-11-03 00:47:01 +0100
commit4fbc70177d7f435f48a94801fd1354b780284028 (patch)
tree41b839bb39aa03941f9b6b01348f83e908120a67 /rsa.h
parent2e93f04acda6b101752b6fe31ae4d69d38924957 (diff)
downloadnettle-4fbc70177d7f435f48a94801fd1354b780284028.tar.gz
(rsa_keypair_from_sexp_alist): New function.
(rsa_keypair_from_sexp): Use it. Rev: src/nettle/rsa.h:1.16 Rev: src/nettle/sexp2rsa.c:1.7
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rsa.h b/rsa.h
index 7ba9a4a0..ebf8a151 100644
--- a/rsa.h
+++ b/rsa.h
@@ -223,6 +223,13 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer,
const struct rsa_public_key *pub,
const struct rsa_private_key *priv);
+struct sexp_iterator;
+
+int
+rsa_keypair_from_sexp_alist(struct rsa_public_key *pub,
+ struct rsa_private_key *priv,
+ struct sexp_iterator *i);
+
/* If PRIV is NULL, expect a public-key expression. If PUB is NULL,
* expect a private key expression and ignore the parts not needed for
* the public key. */