Searched refs:kmPubKeyData (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyBlobUpgradeTest.cpp | 554 uint8_t kmPubKeyData[32]; in TEST_P() local 556 EVP_PKEY_get_raw_public_key(kmPubKey.get(), kmPubKeyData, &kmPubKeySize)); in TEST_P() 561 ASSERT_EQ(1, X25519(sharedKey, localPrivKeyData, kmPubKeyData)); in TEST_P()
|
D | KeyMintTest.cpp | 4325 uint8_t kmPubKeyData[32]; in TEST_P() local 4326 ASSERT_EQ(1, EVP_PKEY_get_raw_public_key(kmPubKey.get(), kmPubKeyData, &kmPubKeySize)); in TEST_P() 4328 EXPECT_EQ(string(kmPubKeyData, kmPubKeyData + 32), ed25519_pubkey); in TEST_P() 4363 uint8_t kmPubKeyData[32]; in TEST_P() local 4364 ASSERT_EQ(1, EVP_PKEY_get_raw_public_key(kmPubKey.get(), kmPubKeyData, &kmPubKeySize)); in TEST_P() 4366 EXPECT_EQ(string(kmPubKeyData, kmPubKeyData + 32), ed25519_pubkey); in TEST_P() 8543 uint8_t kmPubKeyData[32]; in CheckAgreement() local 8544 ASSERT_EQ(1, EVP_PKEY_get_raw_public_key(kmPubKey.get(), kmPubKeyData, &kmPubKeySize)); in CheckAgreement() 8554 ASSERT_EQ(1, X25519(sharedKey, localPrivKeyData, kmPubKeyData)); in CheckAgreement() 8673 uint8_t kmPubKeyData[32]; in TEST_P() local [all …]
|