Home
last modified time | relevance | path

Searched refs:pwdata (Results 1 – 25 of 30) sorted by relevance

12

/third_party/openssl/providers/implementations/encode_decode/
Ddecode_pvk2key.c99 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()
Dencode_key2ms.c35 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()
Ddecode_msblob2key.c137 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()
Dencode_key2any.c54 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()
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
Ddecode_pvk2key.c110 struct ossl_passphrase_data_st pwdata; in pvk2key_decode() local
113 memset(&pwdata, 0, sizeof(pwdata)); in pvk2key_decode()
114 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in pvk2key_decode()
117 key = ctx->desc->read_private_key(in, ossl_pw_pvk_password, &pwdata, in pvk2key_decode()
Dencode_key2ms.c35 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()
Ddecode_msblob2key.c149 struct ossl_passphrase_data_st pwdata; in msblob2key_decode() local
151 memset(&pwdata, 0, sizeof(pwdata)); in msblob2key_decode()
152 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in msblob2key_decode()
Dencode_key2any.c54 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()
961 ossl_pw_clear_passphrase_data(&ctx->pwdata); in key2any_freectx()
1064 || ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, pwcb, pwcbarg))) in key2any_encode()
/third_party/openssl/crypto/pem/
Dpem_pkey.c223 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()
/third_party/node/deps/openssl/openssl/crypto/pem/
Dpem_pkey.c223 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()
/third_party/openssl/crypto/encode_decode/
Dencoder_pkey.c45 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()
Dencoder_local.h103 struct ossl_passphrase_data_st pwdata; member
158 struct ossl_passphrase_data_st pwdata; member
Ddecoder_pkey.c26 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()
Ddecoder_lib.c79 (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()
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
Dencoder_pkey.c45 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()
Dencoder_local.h103 struct ossl_passphrase_data_st pwdata; member
158 struct ossl_passphrase_data_st pwdata; member
Ddecoder_pkey.c26 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()
Ddecoder_lib.c79 (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()
967 &new_data.ctx->pwdata); in decoder_process()
Dencoder_lib.c638 &data->ctx->pwdata); in encoder_process()
/third_party/openssl/crypto/store/
Dstore_lib.c173 && (!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()
Dstore_local.h153 struct ossl_passphrase_data_st pwdata; member
Dstore_result.c410 void *cbarg = &ctx->pwdata; in try_key()
570 pw_params, 0, &ctx->pwdata)) { in try_pkcs12()
/third_party/node/deps/openssl/openssl/crypto/store/
Dstore_lib.c173 && (!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()
433 &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()
Dstore_local.h153 struct ossl_passphrase_data_st pwdata; member
Dstore_result.c410 void *cbarg = &ctx->pwdata; in try_key()
572 pw_params, 0, &ctx->pwdata)) { in try_pkcs12()

12