Lines Matching refs:EVP_PKEY
76 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
83 EVP_PKEY *ret=NULL;
95 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
119 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
142 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
168 static int set_pkey_type_from_str(EVP_PKEY *pkey, const char *name, size_t len) {
176 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x)
183 EVP_PKEY *ret=NULL;
205 if(*x) EVP_PKEY_free((EVP_PKEY *)*x);
217 int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x)
230 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
233 EVP_PKEY *ret;
246 int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,