diff options
Diffstat (limited to 'src/tls/rsa.h')
-rw-r--r-- | src/tls/rsa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tls/rsa.h b/src/tls/rsa.h index c236a9df44498..b65818ee1546a 100644 --- a/src/tls/rsa.h +++ b/src/tls/rsa.h @@ -14,6 +14,9 @@ struct crypto_rsa_key; struct crypto_rsa_key * crypto_rsa_import_public_key(const u8 *buf, size_t len); struct crypto_rsa_key * +crypto_rsa_import_public_key_parts(const u8 *n, size_t n_len, + const u8 *e, size_t e_len); +struct crypto_rsa_key * crypto_rsa_import_private_key(const u8 *buf, size_t len); size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key); int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen, |