Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp106 HidlBuf empty_boot_key(string(32, '\0')); in check_root_of_trust() local
114 EXPECT_NE(verified_boot_key, empty_boot_key); in check_root_of_trust()
117 EXPECT_NE(verified_boot_key, empty_boot_key); in check_root_of_trust()
120 EXPECT_EQ(verified_boot_key, empty_boot_key); in check_root_of_trust()
125 EXPECT_EQ(verified_boot_key, empty_boot_key); in check_root_of_trust()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp452 std::string empty_boot_key(32, '\0'); in verify_attestation_record() local
458 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
462 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
466 EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()
472 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record()