Lines Matching refs:nid
22 int nid, const EVP_CIPHER *enc,
29 int nid, const EVP_CIPHER *enc,
41 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid() argument
45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey_nid()
62 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() argument
66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_nid_bio()
69 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey() argument
102 if (nid == -1 && OSSL_ENCODER_CTX_get_num_encoders(ctx) != 0) { in do_pk8pkey()
136 if (enc || (nid != -1)) { in do_pk8pkey()
146 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
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()
236 static int do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey_fp() argument
247 ret = do_pk8pkey(bp, x, isder, nid, enc, kstr, klen, cb, u, propq); in do_pk8pkey_fp()