Home
last modified time | relevance | path

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

/openssl/crypto/store/
H A Dstore_lib.c69 struct ossl_passphrase_data_st pwdata = { 0 }; in OSSL_STORE_open_ex() local
107 && (!ossl_pw_set_ui_method(&pwdata, ui_method, ui_data) in OSSL_STORE_open_ex()
108 || !ossl_pw_enable_passphrase_caching(&pwdata))) { in OSSL_STORE_open_ex()
150 &pwdata); in OSSL_STORE_open_ex()
167 (void)ossl_pw_clear_passphrase_cache(&pwdata); in OSSL_STORE_open_ex()
199 ctx->pwdata = pwdata; in OSSL_STORE_open_ex()
477 (void)ossl_pw_clear_passphrase_cache(&ctx->pwdata); in OSSL_STORE_load()
504 struct ossl_passphrase_data_st pwdata = {0}; in OSSL_STORE_delete() local
534 &pwdata); in OSSL_STORE_delete()
537 (void)ossl_pw_clear_passphrase_cache(&pwdata); in OSSL_STORE_delete()
[all …]
H A Dstore_local.h154 struct ossl_passphrase_data_st pwdata; member
H A Dstore_result.c410 void *cbarg = &ctx->pwdata; in try_key()
572 pw_params, 0, &ctx->pwdata)) { in try_pkcs12()
/openssl/providers/implementations/encode_decode/
H A Ddecode_pvk2key.c136 struct ossl_passphrase_data_st pwdata; in pvk2key_decode() local
139 memset(&pwdata, 0, sizeof(pwdata)); in pvk2key_decode()
140 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in pvk2key_decode()
143 key = ctx->desc->read_private_key(in, ossl_pw_pvk_password, &pwdata, in pvk2key_decode()
H A 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()
H A Ddecode_msblob2key.c147 struct ossl_passphrase_data_st pwdata; in msblob2key_decode() local
149 memset(&pwdata, 0, sizeof(pwdata)); in msblob2key_decode()
150 if (!ossl_pw_set_ossl_passphrase_cb(&pwdata, pw_cb, pw_cbarg)) in msblob2key_decode()
H A 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()
959 ossl_pw_clear_passphrase_data(&ctx->pwdata); in key2any_freectx()
1062 || ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, pwcb, pwcbarg))) in key2any_encode()
/openssl/crypto/encode_decode/
H A Dencoder_local.h102 struct ossl_passphrase_data_st pwdata; member
158 struct ossl_passphrase_data_st pwdata; member
H A Dencoder_pkey.c46 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase()
53 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_ENCODER_CTX_set_passphrase_ui()
59 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_pem_password_cb()
66 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_passphrase_cb()
H A Ddecoder_pkey.c30 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase()
37 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_DECODER_CTX_set_passphrase_ui()
43 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb()
50 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb()
H A Ddecoder_lib.c80 (void)ossl_pw_enable_passphrase_caching(&ctx->pwdata); in OSSL_DECODER_from_bio()
110 (void)ossl_pw_clear_passphrase_cache(&ctx->pwdata); in OSSL_DECODER_from_bio()
1004 &new_data.ctx->pwdata); in decoder_process()
H A Dencoder_lib.c641 &data->ctx->pwdata); in encoder_process()
H A Ddecoder_meth.c669 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_DECODER_CTX_free()
H A Dencoder_meth.c650 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_ENCODER_CTX_free()
/openssl/crypto/pem/
H A 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()

Completed in 54 milliseconds