summaryrefslogtreecommitdiff
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 a8c863654..f997e2d29 100644
--- a/include/crypto/internal/rsa.h
+++ b/include/crypto/internal/rsa.h
@@ -20,8 +20,11 @@ struct rsa_key {
MPI d;
};
-int rsa_parse_key(struct rsa_key *rsa_key, const void *key,
- unsigned int key_len);
+int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key,
+ unsigned int key_len);
+
+int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key,
+ unsigned int key_len);
void rsa_free_key(struct rsa_key *rsa_key);
#endif