Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c3808 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) in tls_connection_dh() argument
3811 if (dh_file == NULL) in tls_connection_dh()
3821 if (dh_file == NULL) in tls_connection_dh()
3826 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
3829 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_connection_dh()
3838 " trying to parse as DSA params", dh_file, in tls_connection_dh()
3840 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
3847 "'%s': %s", dh_file, in tls_connection_dh()
3865 "'%s'", dh_file); in tls_connection_dh()
3871 "%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.h200 const char *dh_file; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_wolfssl.c423 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file, in tls_connection_dh() argument
426 if (!dh_file && !dh_blob) in tls_connection_dh()
441 if (dh_file) { in tls_connection_dh()
442 wpa_printf(MSG_INFO, "SSL: use DH PEM file: %s", dh_file); in tls_connection_dh()
443 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file, in tls_connection_dh()
446 if (wolfSSL_SetTmpDH_file(conn->ssl, dh_file, in tls_connection_dh()
1292 if (tls_connection_dh(conn, params->dh_file, params->dh_blob, in tls_connection_set_params()
1430 static int tls_global_dh(void *ssl_ctx, const char *dh_file, in tls_global_dh() argument
1435 if (!dh_file && !dh_blob) in tls_global_dh()
1449 if (dh_file) { in tls_global_dh()
[all …]
Dtls_openssl.c4022 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) in tls_connection_dh() argument
4025 if (dh_file == NULL) in tls_connection_dh()
4035 if (dh_file == NULL) in tls_connection_dh()
4040 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
4043 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_connection_dh()
4052 " trying to parse as DSA params", dh_file, in tls_connection_dh()
4054 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh()
4061 "'%s': %s", dh_file, in tls_connection_dh()
4079 "'%s'", dh_file); in tls_connection_dh()
4085 "%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.h200 const char *dh_file; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dauthsrv.c201 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
236 params.dh_file = hapd->conf->dh_file; in authsrv_init()
Dap_config.h420 char *dh_file; member
Dap_config.c711 os_free(conf->dh_file); in hostapd_config_free_bss()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dauthsrv.c235 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
270 params.dh_file = hapd->conf->dh_file; in authsrv_init()
Dap_config.h426 char *dh_file; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/python/Lib/test/
Dssl_servers.py201 if args.dh_file:
202 context.load_dh_params(args.dh_file)
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
224 eap_tls_check_blob(sm, &params->dh_file, &params->dh_blob, in eap_tls_params_from_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_config.h122 char *dh_file; member
Deap_tls_common.c116 params->dh_file = config->dh_file; in eap_tls_cert_params_from_conf()
232 eap_tls_check_blob(sm, &params->dh_file, &params->dh_blob, in eap_tls_params_from_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig.c2464 { STRe(dh_file, cert.dh_file) },
2475 { STRe(dh_file2, phase2_cert.dh_file) },
2503 { STRe(machine_dh_file, machine_cert.dh_file) },
2766 os_free(cert->dh_file); in eap_peer_config_free_cert()
Dconfig_winreg.c908 STR(dh_file); in wpa_config_write_network()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig_winreg.c897 STR(dh_file); in wpa_config_write_network()

12