Home
last modified time | relevance | path

Searched refs:empty_boot_key (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp120 HidlBuf empty_boot_key(string(32, '\0')); in check_root_of_trust() local
128 EXPECT_NE(verified_boot_key, empty_boot_key); in check_root_of_trust()
131 EXPECT_NE(verified_boot_key, empty_boot_key); in check_root_of_trust()
134 EXPECT_EQ(verified_boot_key, empty_boot_key); in check_root_of_trust()
139 EXPECT_EQ(verified_boot_key, empty_boot_key); in check_root_of_trust()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp1815 std::string empty_boot_key(32, '\0'); in verify_root_of_trust() local
1827 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_root_of_trust()
1831 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_root_of_trust()
1835 EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_root_of_trust()
1841 EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_root_of_trust()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp529 std::string empty_boot_key(32, '\0'); in verify_attestation_record() local
535 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
539 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
543 EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
549 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()