/openssl/crypto/store/ |
H A D | store_lib.c | 69 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 D | store_local.h | 154 struct ossl_passphrase_data_st pwdata; member
|
H A D | store_result.c | 410 void *cbarg = &ctx->pwdata; in try_key() 572 pw_params, 0, &ctx->pwdata)) { in try_pkcs12()
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_pvk2key.c | 136 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 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 | 147 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 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() 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 D | encoder_local.h | 102 struct ossl_passphrase_data_st pwdata; member 158 struct ossl_passphrase_data_st pwdata; member
|
H A D | encoder_pkey.c | 46 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 D | decoder_pkey.c | 30 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 D | decoder_lib.c | 80 (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 D | encoder_lib.c | 641 &data->ctx->pwdata); in encoder_process()
|
H A D | decoder_meth.c | 669 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_DECODER_CTX_free()
|
H A D | encoder_meth.c | 650 ossl_pw_clear_passphrase_data(&ctx->pwdata); in OSSL_ENCODER_CTX_free()
|
/openssl/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()
|