Lines Matching refs:fp
208 int i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp() argument
212 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_fp()
215 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp() argument
219 return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_nid_fp()
222 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, in PEM_write_PKCS8PrivateKey_nid() argument
226 return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_PKCS8PrivateKey_nid()
229 int PEM_write_PKCS8PrivateKey(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey() argument
233 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_PKCS8PrivateKey()
236 static int do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey_fp() argument
243 if ((bp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in do_pk8pkey_fp()
252 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_fp() argument
258 if ((bp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in d2i_PKCS8PrivateKey_fp()