Lines Matching refs:EVP_PKEY
114 /* Convert private key blob to EVP_PKEY: RSA and DSA keys supported */
134 static EVP_PKEY *b2i_rsa(const unsigned char **in, unsigned int length,
136 static EVP_PKEY *b2i_dss(const unsigned char **in, unsigned int length,
247 static EVP_PKEY *do_b2i(const unsigned char **in, unsigned int length,
270 static EVP_PKEY *do_b2i_bio(BIO *in, int ispub)
276 EVP_PKEY *ret = NULL;
311 static EVP_PKEY *b2i_dss(const unsigned char **in, unsigned int length,
315 EVP_PKEY *ret = NULL;
369 static EVP_PKEY *b2i_rsa(const unsigned char **in, unsigned int length,
374 EVP_PKEY *ret = NULL;
419 EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length)
424 EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length)
430 EVP_PKEY *b2i_PrivateKey_bio(BIO *in)
435 EVP_PKEY *b2i_PublicKey_bio(BIO *in)
484 static int do_i2b(unsigned char **out, EVP_PKEY *pk, int ispub)
536 static int do_i2b_bio(BIO *out, EVP_PKEY *pk, int ispub)
647 int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk)
652 int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk)
722 static EVP_PKEY *do_PVK_body(const unsigned char **in,
726 EVP_PKEY *ret = NULL;
802 EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u)
807 EVP_PKEY *ret = NULL;
844 static int i2b_PVK(unsigned char **out, EVP_PKEY*pk, int enclevel,
923 int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel,