Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A 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...]
H A 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()
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 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
H A 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A 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...]
H A Dtls_openssl.c4049 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 Dtls.h156 * @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 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dauthsrv.c201 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
236 params.dh_file = hapd->conf->dh_file; in authsrv_init()
H A Dap_config.h420 char *dh_file; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/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, 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 Dtlsv1_cred.h45 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A Dtlsv1_cred.c1183 * @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 Dssl_servers.py187 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 Deap_config.h166 * 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 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/ap/
H A Dauthsrv.c235 hapd->conf->private_key || hapd->conf->dh_file || in authsrv_init()
270 params.dh_file = hapd->conf->dh_file; in authsrv_init()
H A Dap_config.h426 char *dh_file; member
H A Dap_config.c806 os_free(conf->dh_file); in hostapd_config_free_bss()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_config.h107 * dh_file - File path to DH/DSA parameters file (in PEM format)
122 char *dh_file; member
H A 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/wpa_supplicant/
H A Dconfig_winreg.c897 STR(dh_file); in wpa_config_write_network()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dconfig_winreg.c908 STR(dh_file); in wpa_config_write_network()
H A Dconfig.c2588 { 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()

Completed in 53 milliseconds

12