| /src/crypto/external/apache2/openssl/dist/test/ |
| uitest.c | 32 UI_METHOD *ui_method = NULL; local 38 if (!TEST_ptr(ui_method = UI_UTIL_wrap_read_pem_callback(test_pem_password_cb, 0)) 39 || !TEST_ptr(ui = UI_new_method(ui_method))) 65 UI_destroy_method(ui_method);
|
| provider_pkey_test.c | 455 UI_METHOD *ui_method = NULL; local 470 if (!TEST_ptr(ui_method = UI_create_method("PW Callbacks"))) 473 if (UI_method_set_reader(ui_method, fake_pw_read_string)) 477 ui_method, NULL, NULL, NULL, NULL))) 480 /* retry w/o ui_method to ensure we actually enter pw checks and fail */ 490 UI_destroy_method(ui_method);
|
| ossl_store_test.c | 44 UI_METHOD *ui_method = NULL; local 49 && TEST_ptr(ui_method = UI_create_method("DummyUI")) 50 && TEST_ptr(sctx = OSSL_STORE_open_ex(input, NULL, NULL, ui_method, 54 UI_destroy_method(ui_method); 103 UI_METHOD *ui_method = NULL; local 115 && TEST_ptr(ui_method = UI_create_method("DummyUI")) 117 NULL, ui_method, NULL, NULL, 121 UI_destroy_method(ui_method); [all...] |
| evp_extra_test2.c | 850 const UI_METHOD *undo_ui_method = NULL; 851 const UI_METHOD *ui_method = NULL; local 853 ui_method = UI_null(); 862 UI_set_default_method(ui_method);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| uitest.c | 33 UI_METHOD *ui_method = NULL; local 39 if (!TEST_ptr(ui_method = 41 || !TEST_ptr(ui = UI_new_method(ui_method))) 66 UI_destroy_method(ui_method);
|
| ossl_store_test.c | 44 UI_METHOD *ui_method = NULL; local 49 && TEST_ptr(ui_method= UI_create_method("DummyUI")) 50 && TEST_ptr(sctx = OSSL_STORE_open_ex(input, NULL, NULL, ui_method, 54 UI_destroy_method(ui_method);
|
| evp_extra_test2.c | 680 const UI_METHOD *undo_ui_method = NULL; 681 const UI_METHOD *ui_method = NULL; local 683 ui_method = UI_null(); 692 UI_set_default_method(ui_method);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| uitest.c | 35 UI_METHOD *ui_method = NULL; local 41 if (!TEST_ptr(ui_method = 43 || !TEST_ptr(ui = UI_new_method(ui_method))) 68 UI_destroy_method(ui_method);
|
| /src/crypto/external/apache2/openssl/dist/apps/lib/ |
| apps_ui.c | 15 static UI_METHOD *ui_method = NULL; variable 16 static const UI_METHOD *ui_base_method = NULL; 109 int set_base_ui_method(const UI_METHOD *ui_meth) 123 ui_method = UI_create_method("OpenSSL application user interface"); 124 return ui_method != NULL 125 && 0 == UI_method_set_opener(ui_method, ui_open) 126 && 0 == UI_method_set_reader(ui_method, ui_read) 127 && 0 == UI_method_set_writer(ui_method, ui_write) 128 && 0 == UI_method_set_closer(ui_method, ui_close [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ui/ |
| ui_util.c | 143 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) 146 UI_METHOD *ui_method = NULL; local 149 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL 150 || UI_method_set_opener(ui_method, ui_open) < 0 151 || UI_method_set_reader(ui_method, ui_read) < 0 152 || UI_method_set_writer(ui_method, ui_write) < 0 153 || UI_method_set_closer(ui_method, ui_close) < 0 155 || !UI_method_set_ex_data(ui_method, ui_method_data_index, data)) { 156 UI_destroy_method(ui_method); [all...] |
| ui_lib.c | 23 UI *UI_new_method(const UI_METHOD *method) 591 const UI_METHOD *UI_get_method(UI *ui) 596 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth) 602 UI_METHOD *UI_create_method(const char *name) 604 UI_METHOD *ui_method = NULL; local 606 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL 607 || (ui_method->name = OPENSSL_strdup(name)) == NUL [all...] |
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| passphrase.h | 46 is_ui_method /* UI_METHOD given by user */ 65 const UI_METHOD *ui_method; member in struct:ossl_passphrase_data_st::__anon427::__anon431 67 } ui_method; member in union:ossl_passphrase_data_st::__anon427 98 const UI_METHOD *ui_method, void *ui_data);
|
| /src/crypto/external/bsd/openssl/dist/apps/lib/ |
| apps_ui.c | 15 static UI_METHOD *ui_method = NULL; variable 16 static const UI_METHOD *ui_base_method = NULL; 115 int set_base_ui_method(const UI_METHOD *ui_meth) 129 ui_method = UI_create_method("OpenSSL application user interface"); 130 return ui_method != NULL 131 && 0 == UI_method_set_opener(ui_method, ui_open) 132 && 0 == UI_method_set_reader(ui_method, ui_read) 133 && 0 == UI_method_set_writer(ui_method, ui_write) 134 && 0 == UI_method_set_closer(ui_method, ui_close [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/ui/ |
| ui_util.c | 146 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) 149 UI_METHOD *ui_method = NULL; local 152 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL 153 || UI_method_set_opener(ui_method, ui_open) < 0 154 || UI_method_set_reader(ui_method, ui_read) < 0 155 || UI_method_set_writer(ui_method, ui_write) < 0 156 || UI_method_set_closer(ui_method, ui_close) < 0 158 || !UI_method_set_ex_data(ui_method, ui_method_data_index, data)) { 159 UI_destroy_method(ui_method); [all...] |
| ui_lib.c | 23 UI *UI_new_method(const UI_METHOD *method) 587 const UI_METHOD *UI_get_method(UI *ui) 592 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth) 598 UI_METHOD *UI_create_method(const char *name) 600 UI_METHOD *ui_method = NULL; local 602 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL 603 || (ui_method->name = OPENSSL_strdup(name)) == NUL [all...] |
| /src/crypto/external/bsd/openssl/dist/include/internal/ |
| passphrase.h | 46 is_ui_method /* UI_METHOD given by user */ 65 const UI_METHOD *ui_method; member in struct:ossl_passphrase_data_st::__anon1514::__anon1518 67 } ui_method; member in union:ossl_passphrase_data_st::__anon1514 98 const UI_METHOD *ui_method, void *ui_data);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ui/ |
| ui_util.c | 142 UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag) 145 UI_METHOD *ui_method = NULL; local 148 || (ui_method = UI_create_method("PEM password callback wrapper")) == NULL 149 || UI_method_set_opener(ui_method, ui_open) < 0 150 || UI_method_set_reader(ui_method, ui_read) < 0 151 || UI_method_set_writer(ui_method, ui_write) < 0 152 || UI_method_set_closer(ui_method, ui_close) < 0 154 || UI_method_set_ex_data(ui_method, ui_method_data_index, data) < 0) { 155 UI_destroy_method(ui_method); [all...] |
| ui_lib.c | 23 UI *UI_new_method(const UI_METHOD *method) 586 const UI_METHOD *UI_get_method(UI *ui) 591 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth) 597 UI_METHOD *UI_create_method(const char *name) 599 UI_METHOD *ui_method = NULL; local 601 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL 602 || (ui_method->name = OPENSSL_strdup(name)) == NUL [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| passphrase.c | 80 const UI_METHOD *ui_method, void *ui_data) 82 if (!ossl_assert(data != NULL && ui_method != NULL)) { 88 data->_.ui_method.ui_method = ui_method; 89 data->_.ui_method.ui_method_data = ui_data; 106 * UI_METHOD processor. It differs from UI_UTIL_read_pw() like this: 116 const UI_METHOD *ui_method, void *ui_data 211 const UI_METHOD *ui_method = NULL; local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/ |
| passphrase.c | 83 const UI_METHOD *ui_method, void *ui_data) 85 if (!ossl_assert(data != NULL && ui_method != NULL)) { 91 data->_.ui_method.ui_method = ui_method; 92 data->_.ui_method.ui_method_data = ui_data; 110 * UI_METHOD processor. It differs from UI_UTIL_read_pw() like this: 120 const UI_METHOD *ui_method, void *ui_data 217 const UI_METHOD *ui_method = NULL; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/store/ |
| store_lib.c | 27 const UI_METHOD *ui_method; member in struct:ossl_store_ctx_st 37 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method, 78 loader_ctx = loader->open(loader, uri, ui_method, ui_data); 90 ctx->ui_method = ui_method; 175 v = ctx->loader->load(ctx->loader_ctx, ctx->ui_method, ctx->ui_data); 644 OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method, [all...] |
| loader_file.c | 47 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, 58 if (ui_method != NULL) 59 UI_set_method(ui, ui_method); 92 const UI_METHOD *ui_method; member in struct:pem_pass_data 99 const UI_METHOD *ui_method, void *ui_data) 103 pass_data->ui_method = ui_method; [all...] |
| /src/crypto/external/apache2/openssl/dist/engines/ |
| e_loader_attic.c | 56 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, 68 if (ui_method != NULL) 69 UI_set_method(ui, ui_method); 101 const UI_METHOD *ui_method; member in struct:pem_pass_data 109 const UI_METHOD *ui_method, void *ui_data) 113 pass_data->ui_method = ui_method; [all...] |
| /src/crypto/external/bsd/openssl/dist/engines/ |
| e_loader_attic.c | 57 static char *file_get_pass(const UI_METHOD *ui_method, char *pass, 69 if (ui_method != NULL) 70 UI_set_method(ui, ui_method); 101 const UI_METHOD *ui_method; member in struct:pem_pass_data 109 const UI_METHOD *ui_method, void *ui_data) 113 pass_data->ui_method = ui_method; [all...] |
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| apps.c | 64 static UI_METHOD *ui_method = NULL; variable 65 static const UI_METHOD *ui_fallback_method = NULL; 269 ui_method = UI_create_method("OpenSSL application user interface"); 270 UI_method_set_opener(ui_method, ui_open); 271 UI_method_set_reader(ui_method, ui_read); 272 UI_method_set_writer(ui_method, ui_write); 273 UI_method_set_closer(ui_method, ui_close); 279 if (ui_method) { 280 UI_destroy_method(ui_method); [all...] |