Home
last modified time | relevance | path

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

/test/vts-testcase/security/avb/
Dvts_gki_compliance_test.cpp352 std::vector<uint8_t> salt, expected_digest, out_digest; in VerifyImageDescriptor() local
356 ASSERT_TRUE(HexToBytes(expected_digest_str, &expected_digest)) in VerifyImageDescriptor()
359 ASSERT_EQ(expected_digest.size(), hasher->GetDigestSize()); in VerifyImageDescriptor()
366 ASSERT_EQ(out_digest.size(), expected_digest.size()) in VerifyImageDescriptor()
369 ASSERT_EQ(out_digest, expected_digest) in VerifyImageDescriptor()
DVtsSecurityAvbTest.cpp361 std::vector<uint8_t> salt, expected_digest; in TEST() local
364 ok = HexToBytes(expected_digest_str, &expected_digest); in TEST()
366 ASSERT_EQ(expected_digest.size(), hasher->GetDigestSize()); in TEST()
377 descriptor->tree_size, *hasher, expected_digest); in TEST()