Searched refs:dh_file (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/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.c1250 * @dh_file: File or reference name for the DH params in PEM or DER format
1255 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, argument
1261 if (dh_file) {
1266 buf = (u8 *) os_readfile(dh_file, &len);
1269 dh_file);
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_config.h166 * dh_file - File path to DH/DSA parameters file (in PEM format)
181 char *dh_file; member in struct:eap_peer_config
370 * This field is like dh_file, but used for phase 2 (inside
H A Deap_tls_common.c116 params->dh_file = config->dh_file;
140 params->dh_file = config->dh_file2;
224 eap_tls_check_blob(sm, &params->dh_file, &params->dh_blob,
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dauthsrv.c201 hapd->conf->private_key || hapd->conf->dh_file ||
236 params.dh_file = hapd->conf->dh_file;
H A Dap_config.h420 char *dh_file; member in struct:hostapd_bss_config
H A Dap_config.c711 os_free(conf->dh_file);
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c422 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file, argument
425 if (!dh_file && !dh_blob)
440 if (dh_file) {
441 wpa_printf(MSG_INFO, "SSL: use DH PEM file: %s", dh_file);
442 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file,
445 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file,
1285 if (tls_connection_dh(conn, params->dh_file, params->dh_blob,
1423 static int tls_global_dh(void *ssl_ctx, const char *dh_file, argument
1428 if (!dh_file && !dh_blob)
1442 if (dh_file) {
[all...]
H A Dtls_openssl.c3808 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) argument
3811 if (dh_file == NULL)
3814 "dh_file specified");
3821 if (dh_file == NULL)
3826 bio = BIO_new_file(dh_file, "r");
3829 dh_file, ERR_error_string(ERR_get_error(), NULL));
3838 " trying to parse as DSA params", dh_file,
3840 bio = BIO_new_file(dh_file, "r");
3847 "'%s': %s", dh_file,
3865 "'%s'", dh_file);
3882 tls_global_dh(struct tls_data *data, const char *dh_file) argument
[all...]
H A Dtls.h150 * @dh_file: File name for DH/DSA data in PEM format, or %NULL if not used
151 * @dh_blob: dh_file as inlined data or %NULL if not used
200 const char *dh_file; member in struct:tls_connection_params
H A Dtls_internal.c284 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob,
345 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob,
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dconfig_file.c783 STR(dh_file);
H A Dconfig.c2258 { STRe(dh_file) },
2529 os_free(eap->dh_file);
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dconfig_file.c2556 } else if (os_strcmp(buf, "dh_file") == 0) {
2557 os_free(bss->dh_file);
2558 bss->dh_file = os_strdup(pos);

Completed in 306 milliseconds