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

/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dtlsv1_cred.h43 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A Dtlsv1_cred.c464 * @dh_file: File or reference name for the DH params in PEM or DER format
469 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, argument
475 if (dh_file) {
480 buf = (u8 *) os_readfile(dh_file, &len);
483 dh_file);
/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_config.h166 * dh_file - File path to DH/DSA parameters file (in PEM format)
181 u8 *dh_file; member in struct:eap_peer_config
282 * This field is like dh_file, but used for phase 2 (inside
H A Deap_tls_common.c68 params->dh_file = (char *) config->dh_file;
89 params->dh_file = (char *) config->dh_file2;
129 eap_tls_check_blob(sm, &params->dh_file, &params->dh_blob,
/freebsd-9.3-release/crypto/openssl/demos/tunala/
H A Dtunala.c89 const char *dh_file,
153 " -dh_file <path> (a PEM file containing DH parameters to use)\n"
172 "(2) Either dh_file or dh_special can be used to specify where DH parameters\n"
339 const char *dh_file = def_dh_file; local
457 } else if (strcmp(*argv, "-dh_file") == 0) {
459 return usage("-dh_file requires an argument", 0);
461 return usage("cannot mix -dh_file with " "-dh_special", 0);
464 dh_file = *argv;
469 if (dh_file)
470 return usage("cannot mix -dh_file wit
725 ctx_set_dh(SSL_CTX *ctx, const char *dh_file, const char *dh_special) argument
778 initialise_ssl_ctx(int server_mode, const char *engine_id, const char *CAfile, const char *cert, const char *key, const char *dcert, const char *dkey, const char *cipher_list, const char *dh_file, const char *dh_special, int tmp_rsa, int ctx_options, int out_state, int out_verify, int verify_mode, unsigned int verify_depth) argument
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dauthsrv.c140 hapd->conf->dh_file)) {
155 params.dh_file = hapd->conf->dh_file;
H A Dap_config.h247 char *dh_file; member in struct:hostapd_bss_config
H A Dap_config.c384 os_free(conf->dh_file);
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dtls_openssl.c2059 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file) argument
2062 if (dh_file == NULL)
2065 "dh_file specified");
2072 if (dh_file == NULL)
2077 bio = BIO_new_file(dh_file, "r");
2080 dh_file, ERR_error_string(ERR_get_error(), NULL));
2089 " trying to parse as DSA params", dh_file,
2091 bio = BIO_new_file(dh_file, "r");
2098 "'%s': %s", dh_file,
2116 "'%s'", dh_file);
2133 tls_global_dh(SSL_CTX *ssl_ctx, const char *dh_file) argument
[all...]
H A Dtls.h105 * @dh_file: File name for DH/DSA data in PEM format, or %NULL if not used
106 * @dh_blob: dh_file as inlined data or %NULL if not used
142 const char *dh_file; member in struct:tls_connection_params
H A Dtls_internal.c202 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob,
258 if (tlsv1_set_dhparams(cred, params->dh_file, params->dh_blob,
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Dconfig_file.c1313 } else if (os_strcmp(buf, "dh_file") == 0) {
1314 os_free(bss->dh_file);
1315 bss->dh_file = os_strdup(pos);
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dconfig.c1456 { STRe(dh_file) },
1623 os_free(eap->dh_file);
H A Dconfig_file.c758 STR(dh_file);

Completed in 201 milliseconds