Home
last modified time | relevance | path

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

12345

/third_party/node/deps/openssl/openssl/apps/lib/
Dapps_ui.c15 static UI_METHOD *ui_method = NULL; variable
129 ui_method = UI_create_method("OpenSSL application user interface"); in setup_ui_method()
130 return ui_method != NULL in setup_ui_method()
131 && 0 == UI_method_set_opener(ui_method, ui_open) in setup_ui_method()
132 && 0 == UI_method_set_reader(ui_method, ui_read) in setup_ui_method()
133 && 0 == UI_method_set_writer(ui_method, ui_write) in setup_ui_method()
134 && 0 == UI_method_set_closer(ui_method, ui_close) in setup_ui_method()
135 && 0 == UI_method_set_prompt_constructor(ui_method, in setup_ui_method()
141 if (ui_method != NULL) { in destroy_ui_method()
142 UI_destroy_method(ui_method); in destroy_ui_method()
[all …]
Dengine_loader.c66 const UI_METHOD *ui_method, in engine_open() argument
117 const UI_METHOD *ui_method, void *ui_data) in engine_load() argument
128 (UI_METHOD *)ui_method, ui_data); in engine_load()
133 (UI_METHOD *)ui_method, ui_data); in engine_load()
/third_party/openssl/apps/lib/
Dapps_ui.c15 static UI_METHOD *ui_method = NULL; variable
129 ui_method = UI_create_method("OpenSSL application user interface"); in setup_ui_method()
130 return ui_method != NULL in setup_ui_method()
131 && 0 == UI_method_set_opener(ui_method, ui_open) in setup_ui_method()
132 && 0 == UI_method_set_reader(ui_method, ui_read) in setup_ui_method()
133 && 0 == UI_method_set_writer(ui_method, ui_write) in setup_ui_method()
134 && 0 == UI_method_set_closer(ui_method, ui_close) in setup_ui_method()
135 && 0 == UI_method_set_prompt_constructor(ui_method, in setup_ui_method()
141 if (ui_method != NULL) { in destroy_ui_method()
142 UI_destroy_method(ui_method); in destroy_ui_method()
[all …]
Dengine_loader.c66 const UI_METHOD *ui_method, in engine_open() argument
117 const UI_METHOD *ui_method, void *ui_data) in engine_load() argument
128 (UI_METHOD *)ui_method, ui_data); in engine_load()
133 (UI_METHOD *)ui_method, ui_data); in engine_load()
/third_party/openssl/crypto/
Dpassphrase.c83 const UI_METHOD *ui_method, void *ui_data) in ossl_pw_set_ui_method() argument
85 if (!ossl_assert(data != NULL && ui_method != NULL)) { in ossl_pw_set_ui_method()
91 data->_.ui_method.ui_method = ui_method; in ossl_pw_set_ui_method()
92 data->_.ui_method.ui_method_data = ui_data; in ossl_pw_set_ui_method()
120 const UI_METHOD *ui_method, void *ui_data) in do_ui_passphrase() argument
137 if (ui_method != NULL) { in do_ui_passphrase()
138 UI_set_method(ui, ui_method); in do_ui_passphrase()
217 const UI_METHOD *ui_method = NULL; in ossl_pw_get_passphrase() local
267 ui_method = allocated_ui_method = in ossl_pw_get_passphrase()
271 if (ui_method == NULL) { in ossl_pw_get_passphrase()
[all …]
/third_party/node/deps/openssl/openssl/crypto/
Dpassphrase.c83 const UI_METHOD *ui_method, void *ui_data) in ossl_pw_set_ui_method() argument
85 if (!ossl_assert(data != NULL && ui_method != NULL)) { in ossl_pw_set_ui_method()
91 data->_.ui_method.ui_method = ui_method; in ossl_pw_set_ui_method()
92 data->_.ui_method.ui_method_data = ui_data; in ossl_pw_set_ui_method()
120 const UI_METHOD *ui_method, void *ui_data) in do_ui_passphrase() argument
137 if (ui_method != NULL) { in do_ui_passphrase()
138 UI_set_method(ui, ui_method); in do_ui_passphrase()
217 const UI_METHOD *ui_method = NULL; in ossl_pw_get_passphrase() local
267 ui_method = allocated_ui_method = in ossl_pw_get_passphrase()
271 if (ui_method == NULL) { in ossl_pw_get_passphrase()
[all …]
/third_party/openssl/crypto/ui/
Dui_util.c145 UI_METHOD *ui_method = NULL; in UI_UTIL_wrap_read_pem_callback() local
148 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL in UI_UTIL_wrap_read_pem_callback()
149 || UI_method_set_opener(ui_method, ui_open) < 0 in UI_UTIL_wrap_read_pem_callback()
150 || UI_method_set_reader(ui_method, ui_read) < 0 in UI_UTIL_wrap_read_pem_callback()
151 || UI_method_set_writer(ui_method, ui_write) < 0 in UI_UTIL_wrap_read_pem_callback()
152 || UI_method_set_closer(ui_method, ui_close) < 0 in UI_UTIL_wrap_read_pem_callback()
154 || !UI_method_set_ex_data(ui_method, ui_method_data_index, data)) { in UI_UTIL_wrap_read_pem_callback()
155 UI_destroy_method(ui_method); in UI_UTIL_wrap_read_pem_callback()
162 return ui_method; in UI_UTIL_wrap_read_pem_callback()
Dui_lib.c600 UI_METHOD *ui_method = NULL; in UI_create_method() local
602 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL in UI_create_method()
603 || (ui_method->name = OPENSSL_strdup(name)) == NULL in UI_create_method()
604 || !CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI_METHOD, ui_method, in UI_create_method()
605 &ui_method->ex_data)) { in UI_create_method()
606 if (ui_method) in UI_create_method()
607 OPENSSL_free(ui_method->name); in UI_create_method()
608 OPENSSL_free(ui_method); in UI_create_method()
612 return ui_method; in UI_create_method()
620 void UI_destroy_method(UI_METHOD *ui_method) in UI_destroy_method() argument
[all …]
/third_party/node/deps/openssl/openssl/crypto/ui/
Dui_util.c145 UI_METHOD *ui_method = NULL; in UI_UTIL_wrap_read_pem_callback() local
148 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL in UI_UTIL_wrap_read_pem_callback()
149 || UI_method_set_opener(ui_method, ui_open) < 0 in UI_UTIL_wrap_read_pem_callback()
150 || UI_method_set_reader(ui_method, ui_read) < 0 in UI_UTIL_wrap_read_pem_callback()
151 || UI_method_set_writer(ui_method, ui_write) < 0 in UI_UTIL_wrap_read_pem_callback()
152 || UI_method_set_closer(ui_method, ui_close) < 0 in UI_UTIL_wrap_read_pem_callback()
154 || !UI_method_set_ex_data(ui_method, ui_method_data_index, data)) { in UI_UTIL_wrap_read_pem_callback()
155 UI_destroy_method(ui_method); in UI_UTIL_wrap_read_pem_callback()
162 return ui_method; in UI_UTIL_wrap_read_pem_callback()
Dui_lib.c600 UI_METHOD *ui_method = NULL; in UI_create_method() local
602 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL in UI_create_method()
603 || (ui_method->name = OPENSSL_strdup(name)) == NULL in UI_create_method()
604 || !CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI_METHOD, ui_method, in UI_create_method()
605 &ui_method->ex_data)) { in UI_create_method()
606 if (ui_method) in UI_create_method()
607 OPENSSL_free(ui_method->name); in UI_create_method()
608 OPENSSL_free(ui_method); in UI_create_method()
612 return ui_method; in UI_create_method()
620 void UI_destroy_method(UI_METHOD *ui_method) in UI_destroy_method() argument
[all …]
/third_party/openssl/engines/
De_loader_attic.c57 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, in DEFINE_STACK_OF()
69 if (ui_method != NULL) in DEFINE_STACK_OF()
70 UI_set_method(ui, ui_method); in DEFINE_STACK_OF()
101 const UI_METHOD *ui_method; member
109 const UI_METHOD *ui_method, void *ui_data) in file_fill_pem_pass_data() argument
113 pass_data->ui_method = ui_method; in file_fill_pem_pass_data()
124 char *pass = file_get_pass(pass_data->ui_method, buf, num, in file_get_pem_pass()
264 const UI_METHOD *ui_method,
301 const UI_METHOD *ui_method, in try_decode_PKCS12() argument
331 if ((pass = file_get_pass(ui_method, tpass, PEM_BUFSIZE, in try_decode_PKCS12()
[all …]
/third_party/node/deps/openssl/openssl/engines/
De_loader_attic.c57 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, in DEFINE_STACK_OF()
69 if (ui_method != NULL) in DEFINE_STACK_OF()
70 UI_set_method(ui, ui_method); in DEFINE_STACK_OF()
101 const UI_METHOD *ui_method; member
109 const UI_METHOD *ui_method, void *ui_data) in file_fill_pem_pass_data() argument
113 pass_data->ui_method = ui_method; in file_fill_pem_pass_data()
124 char *pass = file_get_pass(pass_data->ui_method, buf, num, in file_get_pem_pass()
264 const UI_METHOD *ui_method,
301 const UI_METHOD *ui_method, in try_decode_PKCS12() argument
331 if ((pass = file_get_pass(ui_method, tpass, PEM_BUFSIZE, in try_decode_PKCS12()
[all …]
/third_party/openssl/crypto/engine/
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()
/third_party/node/deps/openssl/openssl/crypto/engine/
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()
/third_party/openssl/test/
Duitest.c33 UI_METHOD *ui_method = NULL; in test_old() local
39 if (!TEST_ptr(ui_method = in test_old()
41 || !TEST_ptr(ui = UI_new_method(ui_method))) in test_old()
66 UI_destroy_method(ui_method); in test_old()
Dossl_store_test.c44 UI_METHOD *ui_method = NULL; in test_store_open() local
49 && TEST_ptr(ui_method= UI_create_method("DummyUI")) in test_store_open()
50 && TEST_ptr(sctx = OSSL_STORE_open_ex(input, NULL, NULL, ui_method, in test_store_open()
54 UI_destroy_method(ui_method); in test_store_open()
/third_party/openssl/include/openssl/
Dstore.h56 OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method, void *ui_data,
61 const UI_METHOD *ui_method, void *ui_data,
134 const UI_METHOD *ui_method, void *ui_data,
289 const UI_METHOD *ui_method, void *ui_data);
293 const UI_METHOD *ui_method, void *ui_data);
298 const UI_METHOD *ui_method, void *ui_data);
306 (OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data);
/third_party/node/deps/openssl/openssl/include/openssl/
Dstore.h56 OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method, void *ui_data,
61 const UI_METHOD *ui_method, void *ui_data,
134 const UI_METHOD *ui_method, void *ui_data,
289 const UI_METHOD *ui_method, void *ui_data);
293 const UI_METHOD *ui_method, void *ui_data);
298 const UI_METHOD *ui_method, void *ui_data);
306 (OSSL_STORE_LOADER_CTX *ctx, const UI_METHOD *ui_method, void *ui_data);
Dengine.h273 UI_METHOD *ui_method,
279 UI_METHOD *ui_method,
639 UI_METHOD *ui_method, void *callback_data);
642 UI_METHOD *ui_method, void *callback_data);
647 UI_METHOD *ui_method, void *callback_data);
/third_party/node/deps/openssl/openssl/include/internal/
Dpassphrase.h65 const UI_METHOD *ui_method; member
67 } ui_method; member
98 const UI_METHOD *ui_method, void *ui_data);
/third_party/openssl/include/internal/
Dpassphrase.h65 const UI_METHOD *ui_method; member
67 } ui_method; member
98 const UI_METHOD *ui_method, void *ui_data);
/third_party/node/deps/openssl/openssl/crypto/store/
Dstore_lib.c64 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_open_ex() argument
121 ui_method, ui_data); in OSSL_STORE_open_ex()
123 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open_ex()
172 if (ui_method != NULL in OSSL_STORE_open_ex()
173 && (!ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data) in OSSL_STORE_open_ex()
221 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_open() argument
225 return OSSL_STORE_open_ex(uri, NULL, NULL, ui_method, ui_data, NULL, in OSSL_STORE_open()
442 ctx->pwdata._.ui_method.ui_method, in OSSL_STORE_load()
443 ctx->pwdata._.ui_method.ui_method_data); in OSSL_STORE_load()
965 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_attach() argument
[all …]
/third_party/openssl/crypto/store/
Dstore_lib.c64 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_open_ex() argument
121 ui_method, ui_data); in OSSL_STORE_open_ex()
123 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open_ex()
172 if (ui_method != NULL in OSSL_STORE_open_ex()
173 && (!ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data) in OSSL_STORE_open_ex()
221 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_open() argument
225 return OSSL_STORE_open_ex(uri, NULL, NULL, ui_method, ui_data, NULL, in OSSL_STORE_open()
442 ctx->pwdata._.ui_method.ui_method, in OSSL_STORE_load()
443 ctx->pwdata._.ui_method.ui_method_data); in OSSL_STORE_load()
965 const UI_METHOD *ui_method, void *ui_data, in OSSL_STORE_attach() argument
[all …]
/third_party/openssl/ohos_lite/include/openssl/
Dengine.h267 UI_METHOD *ui_method,
273 UI_METHOD *ui_method,
575 UI_METHOD *ui_method, void *callback_data);
577 UI_METHOD *ui_method, void *callback_data);
581 UI_METHOD *ui_method, void *callback_data);
Dstore.h49 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method,
221 const UI_METHOD *ui_method,
237 const UI_METHOD *ui_method,

12345