diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-11-03 00:47:01 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-11-03 00:47:01 +0100 |
commit | 4fbc70177d7f435f48a94801fd1354b780284028 (patch) | |
tree | 41b839bb39aa03941f9b6b01348f83e908120a67 /rsa.h | |
parent | 2e93f04acda6b101752b6fe31ae4d69d38924957 (diff) | |
download | nettle-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. */ |