Commit 6b06ce5f authored by Niels Möller's avatar Niels Möller
Browse files

Moved rsa-related declarations here.

Rev: src/publickey_crypto.h:1.44
parent 940fd0fa
......@@ -202,4 +202,18 @@ init_dh_instance(struct dh_method *m,
struct dh_instance *self,
struct ssh_connection *c);
/* RSA support */
extern struct signature_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);
Supports Markdown
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