diff options
Diffstat (limited to 'include/crypto/internal/rsa.h')
-rw-r--r-- | include/crypto/internal/rsa.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/crypto/internal/rsa.h b/include/crypto/internal/rsa.h index a8c86365439f..f997e2d29b5a 100644 --- a/include/crypto/internal/rsa.h +++ b/include/crypto/internal/rsa.h | |||
@@ -20,8 +20,11 @@ struct rsa_key { | |||
20 | MPI d; | 20 | MPI d; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | int rsa_parse_key(struct rsa_key *rsa_key, const void *key, | 23 | int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, |
24 | unsigned int key_len); | 24 | unsigned int key_len); |
25 | |||
26 | int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, | ||
27 | unsigned int key_len); | ||
25 | 28 | ||
26 | void rsa_free_key(struct rsa_key *rsa_key); | 29 | void rsa_free_key(struct rsa_key *rsa_key); |
27 | #endif | 30 | #endif |