Commit 38f96179 authored by Niels Möller's avatar Niels Möller
Browse files

(parse_ssh_rsa_public): New function.

(make_ssh_rsa_verifier): New function.

Rev: src/rsa.h:1.3
parent 105d72ef
......@@ -62,6 +62,14 @@ make_rsa_algorithm(struct hash_algorithm *hash,
extern struct rsa_algorithm rsa_md5_algorithm;
extern struct rsa_algorithm rsa_sha1_algorithm;
/* Non spki keys */
struct verifier *
parse_ssh_rsa_public(struct simple_buffer *buffer);
struct verifier *
make_ssh_rsa_verifier(UINT32 public_length,
const UINT8 *public);
struct sexp *
rsa_generate_key(mpz_t e, struct randomness *r, UINT32 bits);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment