/external/vboot_reference/tests/ |
D | vboot_common2_tests.c | 44 const VbPrivateKey *private_key) in VerifyDataTest() argument 51 sig = CalculateSignature(test_data, test_size, private_key); in VerifyDataTest() 80 const VbPrivateKey *private_key) in VerifyDigestTest() argument 87 sig = CalculateSignature(test_data, sizeof(test_data), private_key); in VerifyDigestTest() 119 const VbPrivateKey *private_key) in VerifyKernelPreambleTest() argument 131 0, 0, 0, 0, private_key); in VerifyKernelPreambleTest() 150 ReSignKernelPreamble(h, private_key); in VerifyKernelPreambleTest() 156 ReSignKernelPreamble(h, private_key); in VerifyKernelPreambleTest() 162 ReSignKernelPreamble(h, private_key); in VerifyKernelPreambleTest() 168 ReSignKernelPreamble(h, private_key); in VerifyKernelPreambleTest() [all …]
|
D | vb20_common3_tests.c | 33 const VbPrivateKey *private_key, in test_verify_keyblock() argument 52 KeyBlockCreate(data_key, private_key, 0x1234); in test_verify_keyblock() 80 resign_keyblock(h, private_key); in test_verify_keyblock() 87 resign_keyblock(h, private_key); in test_verify_keyblock() 94 resign_keyblock(h, private_key); in test_verify_keyblock() 100 resign_keyblock(h, private_key); in test_verify_keyblock() 107 resign_keyblock(h, private_key); in test_verify_keyblock() 114 resign_keyblock(h, private_key); in test_verify_keyblock() 136 resign_keyblock(h, private_key); in test_verify_keyblock() 143 resign_keyblock(h, private_key); in test_verify_keyblock() [all …]
|
D | vboot_common3_tests.c | 31 const VbPrivateKey *private_key, in KeyBlockVerifyTest() argument 38 hdr = KeyBlockCreate(data_key, private_key, 0x1234); in KeyBlockVerifyTest() 167 const VbPrivateKey *private_key, in VerifyFirmwarePreambleTest() argument 180 private_key, 0x5678); in VerifyFirmwarePreambleTest() 199 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() 205 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() 211 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() 217 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() 224 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() 230 ReSignFirmwarePreamble(h, private_key); in VerifyFirmwarePreambleTest() [all …]
|
D | vb20_common2_tests.c | 143 VbPrivateKey *private_key = NULL; in test_algorithm() local 150 private_key = PrivateKeyReadPem(filename, key_algorithm); in test_algorithm() 151 if (!private_key) { in test_algorithm() 166 CalculateSignature(test_data, sizeof(test_data), private_key); in test_algorithm() 175 free(private_key); in test_algorithm()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 90 EVP_PKEY *private_key; /* the private key if using engine */ member 909 conn->private_key = EVP_PKEY_from_keystore(key_id); in tls_engine_init() 910 if (!conn->private_key) { in tls_engine_init() 962 conn->private_key = ENGINE_load_private_key(conn->engine, in tls_engine_init() 965 if (!conn->private_key) { in tls_engine_init() 1002 if (conn->private_key) { in tls_engine_init() 1003 EVP_PKEY_free(conn->private_key); in tls_engine_init() 1004 conn->private_key = NULL; in tls_engine_init() 1018 if (conn->private_key) { in tls_engine_deinit() 1019 EVP_PKEY_free(conn->private_key); in tls_engine_deinit() [all …]
|
D | tls_gnutls.c | 459 if (params->client_cert && params->private_key) { in tls_connection_set_params() 462 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params() 467 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params() 476 params->private_key, GNUTLS_X509_FMT_PEM, in tls_connection_set_params() 481 params->private_key, GNUTLS_X509_FMT_PEM); in tls_connection_set_params() 490 } else if (params->private_key) { in tls_connection_set_params() 495 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params() 653 if (params->client_cert && params->private_key) { in tls_global_set_params() 657 params->private_key, GNUTLS_X509_FMT_DER); in tls_global_set_params() 663 params->private_key, GNUTLS_X509_FMT_PEM); in tls_global_set_params() [all …]
|
D | tls_internal.c | 241 if (tlsv1_set_private_key(cred, params->private_key, in tls_connection_set_params() 301 if (tlsv1_set_private_key(cred, params->private_key, in tls_global_set_params()
|
D | tls.h | 161 const char *private_key; member
|
/external/boringssl/src/ssl/ |
D | s3_lib.c | 321 int SSL_CTX_set1_tls_channel_id(SSL_CTX *ctx, EVP_PKEY *private_key) { in SSL_CTX_set1_tls_channel_id() argument 323 if (EVP_PKEY_id(private_key) != EVP_PKEY_EC || in SSL_CTX_set1_tls_channel_id() 324 EVP_PKEY_bits(private_key) != 256) { in SSL_CTX_set1_tls_channel_id() 330 ctx->tlsext_channel_id_private = EVP_PKEY_up_ref(private_key); in SSL_CTX_set1_tls_channel_id() 334 int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key) { in SSL_set1_tls_channel_id() argument 336 if (EVP_PKEY_id(private_key) != EVP_PKEY_EC || in SSL_set1_tls_channel_id() 337 EVP_PKEY_bits(private_key) != 256) { in SSL_set1_tls_channel_id() 342 ssl->tlsext_channel_id_private = EVP_PKEY_up_ref(private_key); in SSL_set1_tls_channel_id()
|
/external/v8/tools/testrunner/server/ |
D | signatures.py | 40 private_key = "~/.ssh/v8_dtest" 42 (signature_file, private_key, filename),
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.conf | 1191 private_key="/etc/cert/user.prv" 1305 private_key="/etc/cert/user.prv" 1440 private_key="/etc/cert/user.prv"
|
D | interworking.c | 693 (cred->private_key == NULL || in nai_realm_find_eap() 694 cred->private_key[0] == '\0'))) { in nai_realm_find_eap() 699 cred->private_key ? cred->private_key : "NULL"); in nai_realm_find_eap() 708 if (cred->private_key && cred->private_key[0] && in nai_realm_find_eap() 1460 if (cred->private_key && in interworking_set_eap_params() 1461 os_strncmp(cred->private_key, "keystore://", 11) == 0) { in interworking_set_eap_params() 1465 cred->private_key + 11) < 0 || in interworking_set_eap_params() 1470 if (cred->private_key && cred->private_key[0] && in interworking_set_eap_params() 1471 wpa_config_set_quoted(ssid, "private_key", cred->private_key) < 0) in interworking_set_eap_params()
|
D | config.h | 149 char *private_key; member
|
/external/wpa_supplicant_8/src/ap/ |
D | authsrv.c | 153 hapd->conf->private_key || hapd->conf->dh_file)) { in authsrv_init() 166 params.private_key = hapd->conf->private_key; in authsrv_init()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_cred.c | 318 const char *private_key, in tlsv1_set_private_key() argument 331 if (private_key) { in tlsv1_set_private_key() 336 buf = (u8 *) os_readfile(private_key, &len); in tlsv1_set_private_key() 339 private_key); in tlsv1_set_private_key()
|
D | rsa.c | 18 int private_key; /* whether private key is set */ member 160 key->private_key = 1; in crypto_rsa_import_private_key() 272 if (use_private && !key->private_key) in crypto_rsa_exptmod()
|
D | tlsv1_cred.h | 33 const char *private_key,
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | wpa2-eap-ccmp.conf | 13 private_key="/etc/cert/user.p12"
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_config.h | 153 u8 *private_key; member
|
D | eap_tls_common.c | 88 params->private_key = (char *) config->private_key; in eap_tls_params_from_conf1() 111 params->private_key = (char *) config->private_key2; in eap_tls_params_from_conf2() 165 eap_tls_check_blob(sm, ¶ms->private_key, in eap_tls_params_from_conf()
|
D | eap_tls.c | 36 ((sm->init_phase2 ? config->private_key2 : config->private_key) in eap_tls_init() 58 } else if (config->private_key && !config->private_key_passwd) in eap_tls_init()
|
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
D | wpa_supplicant.conf.sgml | 70 private_key="/etc/cert/user.prv" 135 private_key="/etc/cert/user.prv" 164 private_key="/etc/cert/user.prv"
|
/external/wpa_supplicant_8/hs20/server/ca/ |
D | openssl-root.cnf | 31 private_key = $dir/private/cakey.pem# The private key
|
/external/wpa_supplicant_8/hs20/server/ |
D | hs20-osu-server.txt | 154 private_key=Key/server.key 196 private_key=/home/user/hs20-server/ca/server.key
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 1588 jobject private_key = reinterpret_cast<jobject>(RSA_get_app_data(rsa)); local 1589 if (!private_key) { 1603 env, rawSignDigestWithPrivateKey(env, private_key, 1635 jobject private_key = reinterpret_cast<jobject>(RSA_get_app_data(rsa)); local 1636 if (!private_key) { 1648 ScopedLocalRef<jbyteArray> cleartext(env, rsaDecryptWithPrivateKey(env, private_key, 1722 jobject private_key = reinterpret_cast<jobject>(ptr); local 1723 if (private_key == NULL) return; 1727 env->DeleteGlobalRef(private_key); 1777 jobject private_key = local [all …]
|