Home
last modified time | relevance | path

Searched refs:ui_method (Results 1 – 8 of 8) sorted by relevance

/crypto/
A Dpassphrase.c89 data->_.ui_method.ui_method = ui_method; in ossl_pw_set_ui_method()
90 data->_.ui_method.ui_method_data = ui_data; in ossl_pw_set_ui_method()
135 if (ui_method != NULL) { in do_ui_passphrase()
136 UI_set_method(ui, ui_method); in do_ui_passphrase()
211 const UI_METHOD *ui_method = NULL; in ossl_pw_get_passphrase() local
261 ui_method = allocated_ui_method = in ossl_pw_get_passphrase()
265 if (ui_method == NULL) { in ossl_pw_get_passphrase()
270 ui_method = data->_.ui_method.ui_method; in ossl_pw_get_passphrase()
271 ui_data = data->_.ui_method.ui_method_data; in ossl_pw_get_passphrase()
274 if (ui_method == NULL) { in ossl_pw_get_passphrase()
[all …]
/crypto/ui/
A Dui_util.c149 UI_METHOD *ui_method = NULL; in UI_UTIL_wrap_read_pem_callback() local
152 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL in UI_UTIL_wrap_read_pem_callback()
153 || UI_method_set_opener(ui_method, ui_open) < 0 in UI_UTIL_wrap_read_pem_callback()
154 || UI_method_set_reader(ui_method, ui_read) < 0 in UI_UTIL_wrap_read_pem_callback()
155 || UI_method_set_writer(ui_method, ui_write) < 0 in UI_UTIL_wrap_read_pem_callback()
156 || UI_method_set_closer(ui_method, ui_close) < 0 in UI_UTIL_wrap_read_pem_callback()
158 || !UI_method_set_ex_data(ui_method, ui_method_data_index, data)) { in UI_UTIL_wrap_read_pem_callback()
159 UI_destroy_method(ui_method); in UI_UTIL_wrap_read_pem_callback()
166 return ui_method; in UI_UTIL_wrap_read_pem_callback()
A Dui_lib.c604 UI_METHOD *ui_method = NULL; in UI_create_method() local
606 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL in UI_create_method()
611 if (ui_method != NULL) { in UI_create_method()
612 if (ui_method->name != NULL) in UI_create_method()
618 OPENSSL_free(ui_method->name); in UI_create_method()
620 OPENSSL_free(ui_method); in UI_create_method()
623 return ui_method; in UI_create_method()
633 if (ui_method == NULL) in UI_destroy_method()
637 OPENSSL_free(ui_method->name); in UI_destroy_method()
638 ui_method->name = NULL; in UI_destroy_method()
[all …]
/crypto/engine/
A Deng_pkey.c57 UI_METHOD *ui_method, void *callback_data) in ENGINE_load_private_key() argument
77 pkey = e->load_privkey(e, key_id, ui_method, callback_data); in ENGINE_load_private_key()
86 UI_METHOD *ui_method, void *callback_data) in ENGINE_load_public_key() argument
106 pkey = e->load_pubkey(e, key_id, ui_method, callback_data); in ENGINE_load_public_key()
117 UI_METHOD *ui_method, void *callback_data) in ENGINE_load_ssl_client_cert() argument
137 ui_method, callback_data); in ENGINE_load_ssl_client_cert()
A Deng_openssl.c77 UI_METHOD *ui_method,
418 UI_METHOD *ui_method, in openssl_load_privkey() argument
/crypto/store/
A Dstore_lib.c64 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_open_ex() argument
106 if (ui_method != NULL in OSSL_STORE_open_ex()
107 && (!ossl_pw_set_ui_method(&pwdata, ui_method, ui_data) in OSSL_STORE_open_ex()
131 ui_method, ui_data); in OSSL_STORE_open_ex()
243 return OSSL_STORE_open_ex(uri, NULL, NULL, ui_method, ui_data, NULL, in OSSL_STORE_open()
454 ctx->pwdata._.ui_method.ui_method, in OSSL_STORE_load()
492 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_delete() argument
506 if (ui_method != NULL in OSSL_STORE_delete()
507 && (!ossl_pw_set_ui_method(&pwdata, ui_method, ui_data) in OSSL_STORE_delete()
1044 ui_method, ui_data); in OSSL_STORE_attach()
[all …]
/crypto/encode_decode/
A Dencoder_pkey.c50 const UI_METHOD *ui_method, in OSSL_ENCODER_CTX_set_passphrase_ui() argument
53 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_ENCODER_CTX_set_passphrase_ui()
A Ddecoder_pkey.c34 const UI_METHOD *ui_method, in OSSL_DECODER_CTX_set_passphrase_ui() argument
37 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_DECODER_CTX_set_passphrase_ui()

Completed in 28 milliseconds