Home
last modified time | relevance | path

Searched refs:dh_file (Results 1 – 16 of 16) sorted by relevance

/hostap-latest/src/tls/
Dtlsv1_cred.h45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
Dtlsv1_cred.c1188 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, in tlsv1_set_dhparams() argument
1194 if (dh_file) { in tlsv1_set_dhparams()
1199 buf = (u8 *) os_readfile(dh_file, &len); in tlsv1_set_dhparams()
1202 dh_file); in tlsv1_set_dhparams()
/hostap-latest/tests/hwsim/auth_serv/
Das2.conf18 dh_file=auth_serv/dh.conf
Das.conf18 dh_file=auth_serv/dh.conf
/hostap-latest/src/ap/
Dauthsrv.c291 hapd->conf->private_key || hapd->conf->private_key_blob || hapd->conf->dh_file || in authsrv_init()
332 params.dh_file = hapd->conf->dh_file; in authsrv_init()
Dap_config.h449 char *dh_file; member
Dap_config.c862 os_free(conf->dh_file); in hostapd_config_free_bss()
/hostap-latest/src/crypto/
Dtls_openssl.c4155 static int tls_global_dh(struct tls_data *data, const char *dh_file) in tls_global_dh() argument
4158 if (dh_file == NULL) in tls_global_dh()
4173 if (!dh_file) { in tls_global_dh()
4178 bio = BIO_new_file(dh_file, "r"); in tls_global_dh()
4181 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_global_dh()
4191 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_global_dh()
4219 dh_file); in tls_global_dh()
4230 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_global_dh()
4242 if (!dh_file) { in tls_global_dh()
4249 bio = BIO_new_file(dh_file, "r"); in tls_global_dh()
[all …]
Dtls_wolfssl.c1463 static int tls_global_dh(void *ssl_ctx, const char *dh_file) in tls_global_dh() argument
1467 if (dh_file) { in tls_global_dh()
1468 if (wolfSSL_CTX_SetTmpDH_file(ctx, dh_file, SSL_FILETYPE_PEM) < in tls_global_dh()
1472 if (wolfSSL_CTX_SetTmpDH_file(ctx, dh_file, in tls_global_dh()
1553 if (tls_global_dh(tls_ctx, params->dh_file) < 0) { in tls_global_set_params()
1555 params->dh_file); in tls_global_set_params()
Dtls.h206 const char *dh_file; member
Dtls_internal.c338 if (tlsv1_set_dhparams(cred, params->dh_file, NULL, 0)) { in tls_global_set_params()
/hostap-latest/tests/fuzzing/tls-server/
Dtls-server.c80 params.dh_file = CERTDIR "dh.conf"; in LLVMFuzzerTestOneInput()
/hostap-latest/eap_example/
Deap_example_server.c84 tparams.dh_file = "dh.conf"; in eap_example_server_init_tls()
/hostap-latest/tests/
Dtest-https_server.c95 params.dh_file = "hwsim/auth_serv/dh.conf"; in https_server()
/hostap-latest/hostapd/
Dconfig_file.c2695 os_free(bss->dh_file); in hostapd_config_fill()
2696 bss->dh_file = os_strdup(pos); in hostapd_config_fill()
/hostap-latest/wpa_supplicant/
DChangeLog2332 dh_file and dh_file2 (phase 2); this adds support for using DSA keys