Home
last modified time | relevance | path

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

/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp657 std::vector<uint8_t> salt, expected_digest, out_digest; in TEST() local
660 ok = HexToBytes(expected_digest_str, &expected_digest); in TEST()
662 ASSERT_EQ(expected_digest.size(), hasher->GetDigestSize()); in TEST()
676 ASSERT_TRUE(out_digest.size() == expected_digest.size()) in TEST()
678 ASSERT_TRUE(out_digest == expected_digest) in TEST()
781 std::vector<uint8_t> salt, expected_digest, out_digest; in VerifyGkiComplianceV2Signature() local
785 ok = HexToBytes(expected_digest_str, &expected_digest); in VerifyGkiComplianceV2Signature()
788 ASSERT_EQ(expected_digest.size(), hasher->GetDigestSize()); in VerifyGkiComplianceV2Signature()
796 ASSERT_EQ(out_digest.size(), expected_digest.size()) in VerifyGkiComplianceV2Signature()
799 ASSERT_EQ(out_digest, expected_digest) in VerifyGkiComplianceV2Signature()
[all …]