move x509 processing to rsa_import_x509()

This commit is contained in:
Steffen Jaeckel
2017-03-28 23:41:12 +02:00
parent 019a9e9850
commit ec327b3d86
4 changed files with 123 additions and 50 deletions
+1
View File
@@ -107,6 +107,7 @@ int rsa_sign_saltlen_get_max_ex(int padding, int hash_idx, rsa_key *key);
int rsa_export(unsigned char *out, unsigned long *outlen, int type, rsa_key *key);
int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key);
int rsa_import_x509(const unsigned char *in, unsigned long inlen, rsa_key *key);
int rsa_import_radix(int radix, char *N, char *e, char *d, char *p, char *q, char *dP, char *dQ, char *qP, rsa_key *key);
#endif