Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_cred.h45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A 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()
/freebsd/contrib/wpa/src/ap/
H A Dauthsrv.c291 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
326 params.dh_file = hapd->conf->dh_file; in authsrv_init()
H A Dap_config.h435 char *dh_file; member
H A Dap_config.c855 os_free(conf->dh_file); in hostapd_config_free_bss()
/freebsd/contrib/wpa/src/crypto/
H A 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 …]
H A 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()
H A Dtls.h206 const char *dh_file; member
H A Dtls_internal.c338 if (tlsv1_set_dhparams(cred, params->dh_file, NULL, 0)) { in tls_global_set_params()
/freebsd/usr.sbin/bsdconfig/share/media/
H A Dwlan.subr75 dh_file \
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c2670 os_free(bss->dh_file); in hostapd_config_fill()
2671 bss->dh_file = os_strdup(pos); in hostapd_config_fill()
/freebsd/contrib/wpa/wpa_supplicant/
H A DChangeLog2332 dh_file and dh_file2 (phase 2); this adds support for using DSA keys