Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 25 of 52) sorted by relevance

123

/hostap-latest/tests/hwsim/
Dtest_suite_b.py72 private_key="auth_serv/ec-user.key",
152 private_key="auth_serv/ec-user.key",
193 private_key="auth_serv/ec2-user.key",
267 private_key="auth_serv/ec2-user.key",
300 private_key="auth_serv/ec2-user-p256.key",
326 private_key="auth_serv/ec-user.key",
343 private_key="auth_serv/ec2-user.key",
360 private_key="auth_serv/ec-user.key",
379 private_key="auth_serv/ec2-user.key",
444 private_key="auth_serv/rsa3072-user.key",
[all …]
Dtest_ap_eap.py2575 private_key="auth_serv/user.key")
2584 private_key="auth_serv/user.key.pkcs8",
2594 private_key="auth_serv/user.key.pkcs8.pkcs5v15",
2612 private_key="blob://userkey")
2629 private_key="blob://userkey",
2640 private_key="blob://testing-blob-does-not-exist",
2655 private_key="auth_serv/user.key")
2663 private_key="auth_serv/user.pkcs12",
2671 private_key="auth_serv/user.pkcs12",
2690 private_key=pkcs12,
[all …]
/hostap-latest/wpa_supplicant/
Dwpa_supplicant.conf1828 private_key="/etc/cert/user.prv"
1942 private_key="/etc/cert/user.prv"
2077 private_key="/etc/cert/user.prv"
2095 private_key="pkcs11:manufacturer=piv_II;id=%01"
Deapol_test.c678 os_free(e->radius_conf->auth_server->private_key); in test_eapol_clean()
1019 const char *private_key, in wpa_init_conf() argument
1065 if (private_key) in wpa_init_conf()
1066 as->private_key = os_strdup(private_key); in wpa_init_conf()
1341 char *private_key = NULL, *private_key_passwd = NULL; in main() local
1396 private_key = optarg; in main()
1551 ca_cert, client_cert, private_key, private_key_passwd, in main()
Dinterworking.c709 (cred->private_key == NULL || in nai_realm_find_eap()
710 cred->private_key[0] == '\0') && in nai_realm_find_eap()
716 cred->private_key ? cred->private_key : "NULL", in nai_realm_find_eap()
726 if (((cred->private_key && cred->private_key[0]) || in nai_realm_find_eap()
1560 if (cred->private_key && in interworking_set_eap_params()
1561 os_strncmp(cred->private_key, "keystore://", 11) == 0) { in interworking_set_eap_params()
1565 cred->private_key + 11) < 0 || in interworking_set_eap_params()
1570 if (cred->private_key && cred->private_key[0] && in interworking_set_eap_params()
1571 wpa_config_set_quoted(ssid, "private_key", cred->private_key) < 0) in interworking_set_eap_params()
/hostap-latest/src/crypto/
Dtls_gnutls.c546 if (params->client_cert && params->private_key) { in tls_connection_set_params()
549 params->client_cert, params->private_key); in tls_connection_set_params()
552 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params()
557 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params()
567 params->private_key, GNUTLS_X509_FMT_PEM, in tls_connection_set_params()
572 params->private_key, GNUTLS_X509_FMT_PEM); in tls_connection_set_params()
586 } else if (params->private_key) { in tls_connection_set_params()
592 params->private_key); in tls_connection_set_params()
594 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params()
793 if (params->client_cert && params->private_key) { in tls_global_set_params()
[all …]
Dtls_openssl.c247 EVP_PKEY *private_key; /* the private key if using engine */ member
1272 conn->private_key = EVP_PKEY_from_keystore(key_id); in tls_engine_init()
1273 if (!conn->private_key) { in tls_engine_init()
1325 conn->private_key = ENGINE_load_private_key(conn->engine, in tls_engine_init()
1328 if (!conn->private_key) { in tls_engine_init()
1365 if (conn->private_key) { in tls_engine_init()
1366 EVP_PKEY_free(conn->private_key); in tls_engine_init()
1367 conn->private_key = NULL; in tls_engine_init()
1381 if (conn->private_key) { in tls_engine_deinit()
1382 EVP_PKEY_free(conn->private_key); in tls_engine_deinit()
[all …]
Dtls_wolfssl.c526 const char *private_key, in tls_connection_private_key() argument
535 if (!private_key && !private_key_blob) in tls_connection_private_key()
570 if (!ok && private_key) { in tls_connection_private_key()
571 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
576 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
1319 if (tls_connection_private_key(tls_ctx, conn, params->private_key, in tls_connection_set_params()
1427 static int tls_global_private_key(void *ssl_ctx, const char *private_key, in tls_global_private_key() argument
1434 if (!private_key) in tls_global_private_key()
1446 if (wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
1448 wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
[all …]
Dtls_mbedtls_alt.c157 mbedtls_pk_context private_key; member
354 mbedtls_pk_init(&tls_conf->private_key); in tls_conf_init()
374 mbedtls_pk_free(&tls_conf->private_key); in tls_conf_deinit()
1605 if (params->private_key || params->private_key_blob) in tls_mbedtls_set_certs()
1611 if (params->private_key && tls_mbedtls_readfile(params->private_key, &data, &len)) in tls_mbedtls_set_certs()
1617 ret = mbedtls_pk_parse_key(&tls_conf->private_key, data, len, (const unsigned char *)pwd, in tls_mbedtls_set_certs()
1620 ret = mbedtls_pk_parse_key(&tls_conf->private_key, data, len, (const unsigned char *)pwd, in tls_mbedtls_set_certs()
1623 if (params->private_key) in tls_mbedtls_set_certs()
1638 … ret = mbedtls_ssl_conf_own_cert(&tls_conf->conf, &tls_conf->client_cert, &tls_conf->private_key); in tls_mbedtls_set_certs()
/hostap-latest/src/tls/
Drsa.c18 int private_key; /* whether private key is set */ member
155 key->private_key = 1; in crypto_rsa_import_private_key()
263 if (use_private && !key->private_key) in crypto_rsa_exptmod()
Dtlsv1_cred.h41 const char *private_key,
Dtlsv1_cred.c1037 const char *private_key, in tlsv1_set_private_key() argument
1050 if (private_key) { in tlsv1_set_private_key()
1055 buf = (u8 *) os_readfile(private_key, &len); in tlsv1_set_private_key()
1058 private_key); in tlsv1_set_private_key()
/hostap-latest/wpa_supplicant/examples/
Dwpa2-eap-ccmp.conf13 private_key="/etc/cert/user.p12"
/hostap-latest/tests/hwsim/auth_serv/
Das2.conf13 private_key=auth_serv/server.key
Das.conf13 private_key=auth_serv/server.key
Dec-ca-openssl.cnf24 private_key = $dir/private/cakey.pem
Dopenssl2.cnf22 private_key = $dir/private/cakey.pem
/hostap-latest/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml74 private_key="/etc/cert/user.prv"
139 private_key="/etc/cert/user.prv"
168 private_key="/etc/cert/user.prv"
/hostap-latest/src/ap/
Dauthsrv.c291 hapd->conf->private_key || hapd->conf->private_key_blob || hapd->conf->dh_file || in authsrv_init()
326 params.private_key = hapd->conf->private_key; in authsrv_init()
/hostap-latest/src/eap_peer/
Deap_config.h97 char *private_key; member
Deap_tls_common.c118 params->private_key = config->private_key; in eap_tls_cert_params_from_conf()
234 eap_tls_check_blob(sm, &params->private_key, in eap_tls_params_from_conf()
248 params->private_key || in eap_tls_params_from_conf()
Deap_tls.c47 if (!cert->private_key && cert->engine == 0) { in eap_tls_init()
67 } else if (cert->private_key && !cert->private_key_passwd) { in eap_tls_init()
/hostap-latest/src/radius/
Dradius_client.h66 char *private_key; member
/hostap-latest/tests/fuzzing/tls-client/
Dtls-client.c79 params.private_key = CERTDIR "server.key"; in LLVMFuzzerTestOneInput()
/hostap-latest/tests/fuzzing/tls-server/
Dtls-server.c79 params.private_key = CERTDIR "server.key"; in LLVMFuzzerTestOneInput()

123