Searched refs:expectedHash (Results 1 – 5 of 5) sorted by relevance
59 byte[] expectedHash = mac.doFinal(TEST_DATA); in computeHash_returnsHmacForData()60 assertThat(hash).isEqualTo(expectedHash); in computeHash_returnsHmacForData()
94 void assertFsverityRootHashMatches(@utf8InCpp String filePath, in byte[] expectedHash); in assertFsverityRootHashMatches() argument
520 public void assertFsverityRootHashMatches(String filePath, @NonNull byte[] expectedHash) in assertFsverityRootHashMatches() argument525 mInstalld.assertFsverityRootHashMatches(filePath, expectedHash); in assertFsverityRootHashMatches()
147 const std::vector<uint8_t>& expectedHash);
2860 const std::vector<uint8_t>& expectedHash) { in assertFsverityRootHashMatches() argument2869 if (expectedHash.size() != kSha256Size) { in assertFsverityRootHashMatches()2871 std::to_string(expectedHash.size())); in assertFsverityRootHashMatches()2885 memcpy(config->digest, expectedHash.data(), kSha256Size); in assertFsverityRootHashMatches()