Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dtls_wolfssl.c422 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file, in tls_connection_dh() argument
425 if (!dh_file && !dh_blob) in tls_connection_dh()
440 if (dh_file) { in tls_connection_dh()
441 wpa_printf(MSG_INFO, "SSL: use DH PEM file: %s", dh_file); in tls_connection_dh()
442 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file, in tls_connection_dh()
445 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file, in tls_connection_dh()
1285 if (tls_connection_dh(conn, params->dh_file, params->dh_blob, in tls_connection_set_params()
1423 static int tls_global_dh(void *ssl_ctx, const char *dh_file, in tls_global_dh() argument
1428 if (!dh_file && !dh_blob) in tls_global_dh()
1442 if (dh_file) { in tls_global_dh()
[all …]
Dtls_openssl.c3713 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) in tls_connection_dh() argument
3716 if (dh_file == NULL) in tls_connection_dh()
3726 if (dh_file == NULL) in tls_connection_dh()
3731 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
3734 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_connection_dh()
3743 " trying to parse as DSA params", dh_file, in tls_connection_dh()
3745 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
3752 "'%s': %s", dh_file, in tls_connection_dh()
3770 "'%s'", dh_file); in tls_connection_dh()
3776 "%s", dh_file, in tls_connection_dh()
[all …]
Dtls_internal.c284 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob, in tls_connection_set_params()
345 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob, in tls_global_set_params()
Dtls.h193 const char *dh_file; member
/external/wpa_supplicant_8/src/ap/
Dauthsrv.c198 hapd->conf->private_key || hapd->conf->dh_file)) { in authsrv_init()
229 params.dh_file = hapd->conf->dh_file; in authsrv_init()
Dap_config.h403 char *dh_file; member
Dap_config.c601 os_free(conf->dh_file); in hostapd_config_free_bss()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_cred.h45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
Dtlsv1_cred.c1255 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, in tlsv1_set_dhparams() argument
1261 if (dh_file) { in tlsv1_set_dhparams()
1266 buf = (u8 *) os_readfile(dh_file, &len); in tlsv1_set_dhparams()
1269 dh_file); in tlsv1_set_dhparams()
/external/python/cpython3/Lib/test/
Dssl_servers.py200 if args.dh_file:
201 context.load_dh_params(args.dh_file)
/external/python/cpython2/Lib/test/
Dssl_servers.py201 if args.dh_file:
202 context.load_dh_params(args.dh_file)
/external/wpa_supplicant_8/src/eap_peer/
Deap_config.h181 char *dh_file; member
Deap_tls_common.c116 params->dh_file = config->dh_file; in eap_tls_params_from_conf1()
140 params->dh_file = config->dh_file2; in eap_tls_params_from_conf2()
215 eap_tls_check_blob(sm, &params->dh_file, &params->dh_blob, in eap_tls_params_from_conf()
/external/wpa_supplicant_8/tests/
Dtest-tls.c111 params.dh_file = "hwsim/auth_serv/dh.conf"; in main()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig_winreg.c897 STR(dh_file); in wpa_config_write_network()
Dconfig_file.c783 STR(dh_file); in wpa_config_write_network()
Dconfig.c2258 { STRe(dh_file) },
2528 os_free(eap->dh_file); in eap_peer_config_free()
DChangeLog2130 dh_file and dh_file2 (phase 2); this adds support for using DSA keys
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2555 os_free(bss->dh_file); in hostapd_config_fill()
2556 bss->dh_file = os_strdup(pos); in hostapd_config_fill()