Lines Matching refs:fp
183 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
187 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u);
190 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid,
194 return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u);
197 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid,
201 return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u);
204 int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
207 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u);
210 static int do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc,
216 if(!(bp = BIO_new_fp(fp, BIO_NOCLOSE))) {
225 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
229 if(!(bp = BIO_new_fp(fp, BIO_NOCLOSE))) {