Lines Matching refs:cb
24 pem_password_cb *cb, void *u,
31 pem_password_cb *cb, void *u,
43 pem_password_cb *cb, void *u) 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()
50 pem_password_cb *cb, void *u) in PEM_write_bio_PKCS8PrivateKey() argument
52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey()
57 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_bio() argument
59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_bio()
64 pem_password_cb *cb, void *u) 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()
71 pem_password_cb *cb, void *u, const char *propq) in do_pk8pkey() argument
87 if (kstr == NULL && cb == NULL) { in do_pk8pkey()
92 cb = PEM_def_callback; in do_pk8pkey()
120 else if (cb != NULL in do_pk8pkey()
121 && !OSSL_ENCODER_CTX_set_pem_password_cb(ctx, cb, u)) in do_pk8pkey()
138 klen = cb(buf, PEM_BUFSIZE, 1, u); in do_pk8pkey()
169 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio() argument
181 if (cb != NULL) in d2i_PKCS8PrivateKey_bio()
182 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in d2i_PKCS8PrivateKey_bio()
210 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_fp() argument
212 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_fp()
217 pem_password_cb *cb, void *u) 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()
224 pem_password_cb *cb, void *u) 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()
231 pem_password_cb *cb, void *u) in PEM_write_PKCS8PrivateKey() argument
233 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_PKCS8PrivateKey()
238 pem_password_cb *cb, void *u, const char *propq) in do_pk8pkey_fp() argument
247 ret = do_pk8pkey(bp, x, isder, nid, enc, kstr, klen, cb, u, propq); in do_pk8pkey_fp()
252 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_fp() argument
262 ret = d2i_PKCS8PrivateKey_bio(bp, x, cb, u); in d2i_PKCS8PrivateKey_fp()