Lines Matching refs:cb
34 pem_password_cb *cb, void *u, in pem_read_bio_key_decoder() argument
53 if (cb == NULL) in pem_read_bio_key_decoder()
54 cb = PEM_def_callback; in pem_read_bio_key_decoder()
56 if (!OSSL_DECODER_CTX_set_pem_password_cb(dctx, cb, u)) in pem_read_bio_key_decoder()
100 pem_password_cb *cb, void *u, in pem_read_bio_key_legacy() argument
116 bp, cb, u)) { in pem_read_bio_key_legacy()
127 bp, cb, u)) { in pem_read_bio_key_legacy()
154 if (cb != NULL) in pem_read_bio_key_legacy()
155 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in pem_read_bio_key_legacy()
215 pem_password_cb *cb, void *u, in pem_read_bio_key() argument
233 if (cb == NULL) in pem_read_bio_key()
234 cb = PEM_def_callback; in pem_read_bio_key()
236 if (!ossl_pw_set_pem_password_cb(&pwdata, cb, u) in pem_read_bio_key()
263 pem_password_cb *cb, void *u, in PEM_read_bio_PUBKEY_ex() argument
266 return pem_read_bio_key(bp, x, cb, u, libctx, propq, in PEM_read_bio_PUBKEY_ex()
270 EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PUBKEY() argument
273 return PEM_read_bio_PUBKEY_ex(bp, x, cb, u, NULL, NULL); in PEM_read_bio_PUBKEY()
278 pem_password_cb *cb, void *u, in PEM_read_PUBKEY_ex() argument
289 ret = PEM_read_bio_PUBKEY_ex(b, x, cb, u, libctx, propq); in PEM_read_PUBKEY_ex()
294 EVP_PKEY *PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) in PEM_read_PUBKEY() argument
296 return PEM_read_PUBKEY_ex(fp, x, cb, u, NULL, NULL); in PEM_read_PUBKEY()
301 pem_password_cb *cb, void *u, in PEM_read_bio_PrivateKey_ex() argument
304 return pem_read_bio_key(bp, x, cb, u, libctx, propq, in PEM_read_bio_PrivateKey_ex()
309 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PrivateKey() argument
312 return PEM_read_bio_PrivateKey_ex(bp, x, cb, u, NULL, NULL); in PEM_read_bio_PrivateKey()
325 (const char *)kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
326 return PEM_write_bio_PrivateKey_traditional(out, x, enc, kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
331 return PEM_write_bio_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, in PEM_write_cb_fnsig()
342 pem_password_cb *cb, void *u) in PEM_write_bio_PrivateKey_traditional() argument
363 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
407 EVP_PKEY *PEM_read_PrivateKey_ex(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_PrivateKey_ex() argument
419 ret = PEM_read_bio_PrivateKey_ex(b, x, cb, u, libctx, propq); in PEM_read_PrivateKey_ex()
424 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_PrivateKey() argument
427 return PEM_read_PrivateKey_ex(fp, x, cb, u, NULL, NULL); in PEM_read_PrivateKey()
439 ret = PEM_write_bio_PrivateKey_ex(b, x, enc, kstr, klen, cb, u, in PEM_write_cb_ex_fnsig()
447 return PEM_write_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, NULL, NULL); in PEM_write_cb_fnsig()