Home
last modified time | relevance | path

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

/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) < 0) { 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.c599 UI_METHOD *ui_method = NULL; in UI_create_method() local
601 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL in UI_create_method()
602 || (ui_method->name = OPENSSL_strdup(name)) == NULL in UI_create_method()
603 || !CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI_METHOD, ui_method, in UI_create_method()
604 &ui_method->ex_data)) { in UI_create_method()
605 if (ui_method) in UI_create_method()
606 OPENSSL_free(ui_method->name); in UI_create_method()
607 OPENSSL_free(ui_method); in UI_create_method()
611 return ui_method; in UI_create_method()
619 void UI_destroy_method(UI_METHOD *ui_method) in UI_destroy_method() argument
[all …]
/third_party/openssl/crypto/engine/
Deng_pkey.c54 UI_METHOD *ui_method, void *callback_data) in ENGINE_load_private_key() argument
75 pkey = e->load_privkey(e, key_id, ui_method, callback_data); in ENGINE_load_private_key()
85 UI_METHOD *ui_method, void *callback_data) in ENGINE_load_public_key() argument
105 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
139 ui_method, callback_data); in ENGINE_load_ssl_client_cert()
Deng_openssl.c68 UI_METHOD *ui_method,
401 UI_METHOD *ui_method, in openssl_load_privkey() argument
/third_party/openssl/crypto/store/
Dloader_file.c47 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, in file_get_pass() argument
58 if (ui_method != NULL) in file_get_pass()
59 UI_set_method(ui, ui_method); in file_get_pass()
92 const UI_METHOD *ui_method; member
99 const UI_METHOD *ui_method, void *ui_data) in file_fill_pem_pass_data() argument
103 pass_data->ui_method = ui_method; in file_fill_pem_pass_data()
113 char *pass = file_get_pass(pass_data->ui_method, buf, num, in file_get_pem_pass()
165 const UI_METHOD *ui_method,
200 const UI_METHOD *ui_method, in try_decode_PKCS12() argument
228 if ((pass = file_get_pass(ui_method, tpass, PEM_BUFSIZE, in try_decode_PKCS12()
[all …]
Dstore_lib.c27 const UI_METHOD *ui_method; member
37 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method, in OSSL_STORE_open() argument
78 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open()
90 ctx->ui_method = ui_method; in OSSL_STORE_open()
175 v = ctx->loader->load(ctx->loader_ctx, ctx->ui_method, ctx->ui_data); in OSSL_STORE_load()
644 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method, in ossl_store_attach_pem_bio() argument
663 ctx->ui_method = ui_method; in ossl_store_attach_pem_bio()
/third_party/openssl/test/
Duitest.c35 UI_METHOD *ui_method = NULL; in test_old() local
41 if (!TEST_ptr(ui_method = in test_old()
43 || !TEST_ptr(ui = UI_new_method(ui_method))) in test_old()
68 UI_destroy_method(ui_method); in test_old()
/third_party/openssl/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,
Dui.h152 char *UI_construct_prompt(UI *ui_method,
297 void UI_destroy_method(UI_METHOD *ui_method);
/third_party/openssl/include/crypto/
Dstore.h22 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method,
/third_party/openssl/apps/
Dapps.c64 static UI_METHOD *ui_method = NULL; variable
269 ui_method = UI_create_method("OpenSSL application user interface"); in setup_ui_method()
270 UI_method_set_opener(ui_method, ui_open); in setup_ui_method()
271 UI_method_set_reader(ui_method, ui_read); in setup_ui_method()
272 UI_method_set_writer(ui_method, ui_write); in setup_ui_method()
273 UI_method_set_closer(ui_method, ui_close); in setup_ui_method()
279 if (ui_method) { in destroy_ui_method()
280 UI_destroy_method(ui_method); in destroy_ui_method()
281 ui_method = NULL; in destroy_ui_method()
287 return ui_method; in get_ui_method()
[all …]
/third_party/grpc/test/core/end2end/
Dengine_passthrough.cc47 UI_METHOD* ui_method, in e_passthrough_load_privkey() argument
/third_party/node/test/addons/openssl-key-engine/
Dtestkeyengine.cc48 UI_METHOD* ui_method, void* callback_data) { in EngineLoadPrivkey() argument
/third_party/openssl/doc/man3/
DOSSL_STORE_open.pod18 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method,
50 I<ui_method> with associated data I<ui_data>, and post processing
54 The given I<ui_method> and I<ui_data> will be reused by all
DUI_create_method.pod23 void UI_destroy_method(UI_METHOD *ui_method);
151 UI_destroy_method() destroys the given UI method B<ui_method>.
DOSSL_STORE_LOADER.pod34 const UI_METHOD *ui_method,
50 UI_METHOD *ui_method,
DUI_new.pod46 char *UI_construct_prompt(UI *ui_method,
DENGINE_add.pod153 UI_METHOD *ui_method, void *callback_data);
155 UI_METHOD *ui_method, void *callback_data);
/third_party/node/test/addons/openssl-client-cert-engine/
Dtestengine.cc55 UI_METHOD* ui_method, in EngineLoadSSLClientCert() argument
/third_party/curl/lib/vtls/
Dopenssl.c1026 UI_METHOD *ui_method = in cert_stuff() local
1028 if(!ui_method) { in cert_stuff()
1033 UI_method_set_opener(ui_method, UI_method_get_opener(UI_OpenSSL())); in cert_stuff()
1034 UI_method_set_closer(ui_method, UI_method_get_closer(UI_OpenSSL())); in cert_stuff()
1035 UI_method_set_reader(ui_method, ssl_ui_reader); in cert_stuff()
1036 UI_method_set_writer(ui_method, ssl_ui_writer); in cert_stuff()
1040 ui_method, in cert_stuff()
1042 UI_destroy_method(ui_method); in cert_stuff()
/third_party/openssl/engines/
De_capi.c124 UI_METHOD *ui_method, void *callback_data);
143 UI_METHOD *ui_method,
784 UI_METHOD *ui_method, void *callback_data) in capi_load_privkey() argument
1694 UI_METHOD *ui_method, in capi_load_ssl_client_cert() argument