/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/libchrome/crypto/ |
D | nss_key_util_unittest.cc | 38 ScopedSECKEYPrivateKey private_key; in TEST_F() local 41 &private_key)); in TEST_F() 44 EXPECT_EQ(rsaKey, SECKEY_GetPrivateKeyType(private_key.get())); in TEST_F() 46 PK11_GetPrivateModulusLen(private_key.get())); in TEST_F() 52 ScopedSECKEYPrivateKey private_key; in TEST_F() local 55 &private_key)); in TEST_F() 64 EXPECT_EQ(private_key->pkcs11ID, private_key2->pkcs11ID); in TEST_F() 70 ScopedSECKEYPrivateKey private_key; in TEST_F() local 73 &private_key)); in TEST_F() 80 PK11_DestroyTokenObject(private_key->pkcs11Slot, private_key->pkcs11ID); in TEST_F()
|
D | nss_key_util.cc | 63 ScopedSECKEYPrivateKey* private_key) { in GenerateRSAKeyPairNSS() argument 70 private_key->reset(PK11_GenerateKeyPair(slot, CKM_RSA_PKCS_KEY_PAIR_GEN, in GenerateRSAKeyPairNSS() 73 if (!*private_key) in GenerateRSAKeyPairNSS()
|
/external/boringssl/src/tool/ |
D | generate_ed25519.cc | 60 uint8_t public_key[32], private_key[64]; in GenerateEd25519Key() local 61 ED25519_keypair(public_key, private_key); in GenerateEd25519Key() 64 WriteToFile(args_map["-out-private"], private_key, in GenerateEd25519Key() 65 sizeof(private_key)); in GenerateEd25519Key()
|
/external/boringssl/src/crypto/curve25519/ |
D | ed25519_test.cc | 29 std::vector<uint8_t> private_key, public_key, message, expected_signature; in TEST() local 30 ASSERT_TRUE(t->GetBytes(&private_key, "PRIV")); in TEST() 31 ASSERT_EQ(64u, private_key.size()); in TEST() 40 private_key.data())); in TEST()
|
D | x25519_test.cc | 78 uint8_t out[32], private_key[32]; in TEST() local 79 OPENSSL_memset(private_key, 0x11, sizeof(private_key)); in TEST() 82 EXPECT_FALSE(X25519(out, private_key, kSmallOrderPoint)) in TEST()
|
D | spake25519.c | 376 OPENSSL_memcpy(ctx->private_key, private_tmp, sizeof(ctx->private_key)); in SPAKE2_generate_msg() 379 x25519_ge_scalarmult_base(&P, ctx->private_key); in SPAKE2_generate_msg() 505 x25519_ge_scalarmult(&dh_shared, ctx->private_key, &Q_ext); in SPAKE2_process_msg()
|
/external/boringssl/src/crypto/evp/ |
D | p_ed25519_asn1.c | 127 CBB pkcs8, algorithm, oid, private_key, inner; in ed25519_priv_encode() local 133 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode() 134 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode() 180 EVP_PKEY *EVP_PKEY_new_ed25519_private(const uint8_t private_key[64]) { in EVP_PKEY_new_ed25519_private() 184 !set_privkey(ret, private_key)) { in EVP_PKEY_new_ed25519_private()
|
D | p_rsa_asn1.c | 117 CBB pkcs8, algorithm, oid, null, private_key; in rsa_priv_encode() local 124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode() 125 !RSA_marshal_private_key(&private_key, key->pkey.rsa) || in rsa_priv_encode()
|
D | p_ec_asn1.c | 174 CBB pkcs8, algorithm, oid, private_key; in eckey_priv_encode() local 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode() 182 !EC_KEY_marshal_private_key(&private_key, ec_key, enc_flags) || in eckey_priv_encode()
|
/external/autotest/client/site_tests/network_DestinationVerification/ |
D | network_DestinationVerification.py | 288 private_key = tempfile.NamedTemporaryFile() 290 private_key.write(ENCRYPTION_PRIVATE_KEY) 291 private_key.flush() 295 (private_key.name, encrypted_data.name), 315 private_key.close()
|
/external/boringssl/src/include/openssl/ |
D | curve25519.h | 52 const uint8_t private_key[32], 58 const uint8_t private_key[32]); 85 const uint8_t private_key[64]);
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client.cc | 87 Status CreateSignature(RSA* private_key, StringPiece to_sign, in CreateSignature() argument 89 if (!private_key || !signature) { in CreateSignature() 106 EVP_PKEY_set1_RSA(key.get(), private_key); in CreateSignature() 196 std::unique_ptr<RSA, std::function<void(RSA*)>> private_key( in GetTokenFromServiceAccountJson() local 199 if (!private_key.get()) { in GetTokenFromServiceAccountJson() 211 TF_RETURN_IF_ERROR(CreateSignature(private_key.get(), to_sign, &signature)); in GetTokenFromServiceAccountJson()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.conf | 1447 private_key="/etc/cert/user.prv" 1561 private_key="/etc/cert/user.prv" 1696 private_key="/etc/cert/user.prv" 1714 private_key="pkcs11:manufacturer=piv_II;id=%01"
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 76 CBS ec_private_key, private_key; in EC_KEY_parse_private_key() local 81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key() 130 BN_bin2bn(CBS_data(&private_key), CBS_len(&private_key), NULL); in EC_KEY_parse_private_key() 200 CBB ec_private_key, private_key; in EC_KEY_marshal_private_key() local 203 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) || in EC_KEY_marshal_private_key() 204 !BN_bn2cbb_padded(&private_key, in EC_KEY_marshal_private_key()
|
/external/v8/tools/testrunner/server/ |
D | signatures.py | 40 private_key = "~/.ssh/v8_dtest" 42 (signature_file, private_key, filename),
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_gnutls.c | 474 if (params->client_cert && params->private_key) { in tls_connection_set_params() 477 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params() 482 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params() 491 params->private_key, GNUTLS_X509_FMT_PEM, in tls_connection_set_params() 496 params->private_key, GNUTLS_X509_FMT_PEM); in tls_connection_set_params() 505 } else if (params->private_key) { in tls_connection_set_params() 510 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params() 706 if (params->client_cert && params->private_key) { in tls_global_set_params() 710 params->private_key, GNUTLS_X509_FMT_DER); in tls_global_set_params() 716 params->private_key, GNUTLS_X509_FMT_PEM); in tls_global_set_params() [all …]
|
D | tls_openssl.c | 231 EVP_PKEY *private_key; /* the private key if using engine */ member 1136 conn->private_key = EVP_PKEY_from_keystore(key_id); in tls_engine_init() 1137 if (!conn->private_key) { in tls_engine_init() 1189 conn->private_key = ENGINE_load_private_key(conn->engine, in tls_engine_init() 1192 if (!conn->private_key) { in tls_engine_init() 1229 if (conn->private_key) { in tls_engine_init() 1230 EVP_PKEY_free(conn->private_key); in tls_engine_init() 1231 conn->private_key = NULL; in tls_engine_init() 1245 if (conn->private_key) { in tls_engine_deinit() 1246 EVP_PKEY_free(conn->private_key); in tls_engine_deinit() [all …]
|
/external/strace/tests-mx32/ |
D | ipc_sem.c | 61 static const key_t private_key = in main() local 86 id = semget(private_key, 1, 0600); in main()
|
D | ipc_msg.c | 68 static const key_t private_key = in main() local 90 id = msgget(private_key, 0600); in main()
|
/external/strace/tests-m32/ |
D | ipc_sem.c | 61 static const key_t private_key = in main() local 86 id = semget(private_key, 1, 0600); in main()
|
/external/strace/tests/ |
D | ipc_sem.c | 61 static const key_t private_key = in main() local 86 id = semget(private_key, 1, 0600); in main()
|