/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
H A D | decode_pvk2key.c | 99 struct ossl_passphrase_data_st pwdata; in pvk2key_decode() local 102 memset(&pwdata, 0, sizeof(pwdata)); in pvk2key_decode() 103 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in pvk2key_decode() 106 key = ctx->desc->read_private_key(in, ossl_pw_pvk_password, &pwdata, in pvk2key_decode()
|
H A D | encode_key2ms.c | 35 struct ossl_passphrase_data_st pwdata; member 63 ossl_pw_pvk_password, &ctx->pwdata, libctx, NULL); in write_pvk() 87 ossl_pw_clear_passphrase_data(&ctx->pwdata); in key2ms_freectx() 163 || ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, pw_cb, pw_cbarg))) in key2pvk_encode()
|
H A D | decode_msblob2key.c | 137 struct ossl_passphrase_data_st pwdata; in msblob2key_decode() local 139 memset(&pwdata, 0, sizeof(pwdata)); in msblob2key_decode() 140 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in msblob2key_decode()
|
H A D | encode_key2any.c | 54 struct ossl_passphrase_data_st pwdata; member 115 &ctx->pwdata)) { in p8info_to_encp8() 415 ossl_pw_pem_password, &ctx->pwdata); in key_to_type_specific_pem_priv_bio() 950 ossl_pw_clear_passphrase_data(&ctx->pwdata); in key2any_freectx() 1053 || ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, pwcb, pwcbarg))) in key2any_encode()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/pem/ |
H A D | pem_pkey.c | 223 struct ossl_passphrase_data_st pwdata = { 0 }; in pem_read_bio_key() local 236 if (!ossl_pw_set_pem_password_cb(&pwdata, cb, u) in pem_read_bio_key() 237 || !ossl_pw_enable_passphrase_caching(&pwdata)) in pem_read_bio_key() 241 ret = pem_read_bio_key_decoder(bp, x, ossl_pw_pem_password, &pwdata, in pem_read_bio_key() 246 ossl_pw_pem_password, &pwdata, in pem_read_bio_key() 254 ossl_pw_clear_passphrase_data(&pwdata); in pem_read_bio_key()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/encode_decode/ |
H A D | encoder_pkey.c | 45 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase() 52 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_ENCODER_CTX_set_passphrase_ui() 58 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_pem_password_cb() 65 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_passphrase_cb()
|
H A D | encoder_local.h | 103 struct ossl_passphrase_data_st pwdata; member 158 struct ossl_passphrase_data_st pwdata; member
|
H A D | decoder_pkey.c | 26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase() 33 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_DECODER_CTX_set_passphrase_ui() 39 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb() 46 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb()
|
H A D | decoder_lib.c | 79 (void)ossl_pw_enable_passphrase_caching(&ctx->pwdata); in OSSL_DECODER_from_bio() 109 (void)ossl_pw_clear_passphrase_cache(&ctx->pwdata); in OSSL_DECODER_from_bio() 966 &new_data.ctx->pwdata); in decoder_process()
|
H A D | encoder_lib.c | 638 &data->ctx->pwdata); in encoder_process()
|
H A D | decoder_meth.c | 698 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_DECODER_CTX_free()
|
H A D | encoder_meth.c | 697 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_ENCODER_CTX_free()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/store/ |
H A D | store_lib.c | 173 && (!ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data) in OSSL_STORE_open_ex() 174 || !ossl_pw_enable_passphrase_caching(&ctx->pwdata))) { in OSSL_STORE_open_ex() 432 &ctx->pwdata)) { in OSSL_STORE_load() 442 ctx->pwdata._.ui_method.ui_method, in OSSL_STORE_load() 443 ctx->pwdata._.ui_method.ui_method_data); in OSSL_STORE_load() 459 (void)ossl_pw_clear_passphrase_cache(&ctx->pwdata); in OSSL_STORE_load() 523 ossl_pw_clear_passphrase_data(&ctx->pwdata); in ossl_store_close_it() 1019 && !ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data)) { in OSSL_STORE_attach()
|
H A D | store_local.h | 153 struct ossl_passphrase_data_st pwdata; member
|
H A D | store_result.c | 410 void *cbarg = &ctx->pwdata; in try_key() 570 pw_params, 0, &ctx->pwdata)) { in try_pkcs12()
|