aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/rsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/rsa.h')
-rw-r--r--include/crypto/internal/rsa.h7
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
23int rsa_parse_key(struct rsa_key *rsa_key, const void *key, 23int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key,
24 unsigned int key_len); 24 unsigned int key_len);
25
26int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key,
27 unsigned int key_len);
25 28
26void rsa_free_key(struct rsa_key *rsa_key); 29void rsa_free_key(struct rsa_key *rsa_key);
27#endif 30#endif