Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssl/crypto/ui/
H A Dui_util.c144 UI_METHOD *ui_method = NULL; in UI_UTIL_wrap_read_pem_callback() local
147 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL in UI_UTIL_wrap_read_pem_callback()
148 || UI_method_set_opener(ui_method, ui_open) < 0 in UI_UTIL_wrap_read_pem_callback()
149 || UI_method_set_reader(ui_method, ui_read) < 0 in UI_UTIL_wrap_read_pem_callback()
150 || UI_method_set_writer(ui_method, ui_write) < 0 in UI_UTIL_wrap_read_pem_callback()
151 || UI_method_set_closer(ui_method, ui_close) < 0 in UI_UTIL_wrap_read_pem_callback()
153 || UI_method_set_ex_data(ui_method, ui_method_data_index, data) < 0) { in UI_UTIL_wrap_read_pem_callback()
154 UI_destroy_method(ui_method); in UI_UTIL_wrap_read_pem_callback()
161 return ui_method; in UI_UTIL_wrap_read_pem_callback()
H A 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()
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
621 if (ui_method == NULL) in UI_destroy_method()
625 OPENSSL_free(ui_method->name); in UI_destroy_method()
626 ui_method->name = NULL; in UI_destroy_method()
[all …]
/freebsd-12.1/crypto/openssl/crypto/store/
H A 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
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()
200 const UI_METHOD *ui_method, in try_decode_PKCS12() argument
358 if ((pass = file_get_pass(ui_method, kbuf, PEM_BUFSIZE, in try_decode_PKCS8Encrypted()
1014 ui_method, ui_data); in file_load_try_decode()
1101 const UI_METHOD *ui_method, in file_read_pem() argument
[all …]
H A 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()
640 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method, in ossl_store_attach_pem_bio() argument
659 ctx->ui_method = ui_method; in ossl_store_attach_pem_bio()
/freebsd-12.1/crypto/openssl/crypto/engine/
H A 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()
H A Deng_openssl.c68 UI_METHOD *ui_method,
401 UI_METHOD *ui_method, in openssl_load_privkey() argument
/freebsd-12.1/crypto/openssl/include/openssl/
H A 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);
H A 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,
H A Dui.h152 char *UI_construct_prompt(UI *ui_method,
297 void UI_destroy_method(UI_METHOD *ui_method);
/freebsd-12.1/crypto/openssl/crypto/include/internal/
H A Dstore_int.h22 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method,
/freebsd-12.1/crypto/openssl/apps/
H A 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 …]
/freebsd-12.1/crypto/openssl/doc/man3/
H A DOSSL_STORE_open.pod18 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method,
50 B<ui_method> with associated data B<ui_data>, and post processing
54 The given B<ui_method> and B<ui_data_data> will be reused by all
H A DUI_create_method.pod23 void UI_destroy_method(UI_METHOD *ui_method);
151 UI_destroy_method() destroys the given UI method B<ui_method>.
H A DOSSL_STORE_LOADER.pod34 const UI_METHOD *ui_method,
50 UI_METHOD *ui_method,
H A DUI_new.pod46 char *UI_construct_prompt(UI *ui_method,
H A DENGINE_add.pod153 UI_METHOD *ui_method, void *callback_data);
155 UI_METHOD *ui_method, void *callback_data);
/freebsd-12.1/crypto/openssl/engines/
H A 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