/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | tls_wolfssl.c | 422 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...] |
H A D | tls_openssl.c | 3808 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() 3814 "dh_file specified"); 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() 3882 tls_global_dh(struct tls_data *data, const char *dh_file) tls_global_dh() argument [all...] |
H A D | tls.h | 150 * @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
|
H A D | tls_internal.c | 284 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | tls_wolfssl.c | 423 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...] |
H A D | tls_openssl.c | 4049 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) in tls_connection_dh() argument 4052 if (dh_file == NULL) in tls_connection_dh() 4055 "dh_file specified"); in tls_connection_dh() 4062 if (dh_file == NULL) in tls_connection_dh() 4067 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh() 4070 dh_file, ERR_error_string(ERR_get_error(), NULL)); in tls_connection_dh() 4079 " trying to parse as DSA params", dh_file, in tls_connection_dh() 4081 bio = BIO_new_file(dh_file, "r"); in tls_connection_dh() 4088 "'%s': %s", dh_file, in tls_connection_dh() 4106 "'%s'", dh_file); in tls_connection_dh() 4123 tls_global_dh(struct tls_data *data, const char *dh_file) tls_global_dh() argument [all...] |
H A D | tls.h | 156 * @dh_file: File name for DH/DSA data in PEM format, or %NULL if not used 157 * @dh_blob: dh_file as inlined data or %NULL if not used 206 const char *dh_file; member
|
H A D | tls_internal.c | 284 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | authsrv.c | 201 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init() 236 params.dh_file = hapd->conf->dh_file; in authsrv_init()
|
H A D | ap_config.h | 420 char *dh_file; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_cred.h | 45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
|
H A D | tlsv1_cred.c | 1250 * @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, 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/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_cred.h | 45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
|
H A D | tlsv1_cred.c | 1183 * @dh_file: File or reference name for the DH params in PEM or DER format 1188 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/python/Lib/test/ |
H A D | ssl_servers.py | 187 parser.add_argument('--dh', dest='dh_file', type=str, action='store', 201 if args.dh_file: 202 context.load_dh_params(args.dh_file)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_config.h | 166 * dh_file - File path to DH/DSA parameters file (in PEM format) 181 char *dh_file; member 370 * This field is like dh_file, but used for phase 2 (inside
|
H A D | eap_tls_common.c | 116 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, ¶ms->dh_file, ¶ms->dh_blob, in eap_tls_params_from_conf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | authsrv.c | 235 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init() 270 params.dh_file = hapd->conf->dh_file; in authsrv_init()
|
H A D | ap_config.h | 426 char *dh_file; member
|
H A D | ap_config.c | 806 os_free(conf->dh_file); in hostapd_config_free_bss()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_config.h | 107 * dh_file - File path to DH/DSA parameters file (in PEM format) 122 char *dh_file; member
|
H A D | eap_tls_common.c | 116 params->dh_file = config->dh_file; in eap_tls_cert_params_from_conf() 232 eap_tls_check_blob(sm, ¶ms->dh_file, ¶ms->dh_blob, in eap_tls_params_from_conf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | config_winreg.c | 897 STR(dh_file); in wpa_config_write_network()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | config_winreg.c | 908 STR(dh_file); in wpa_config_write_network()
|
H A D | config.c | 2588 { STRe(dh_file, cert.dh_file) }, 2599 { STRe(dh_file2, phase2_cert.dh_file) }, 2627 { STRe(machine_dh_file, machine_cert.dh_file) }, 2890 os_free(cert->dh_file); in eap_peer_config_free_cert()
|