Searched refs:expectedDigest (Results 1 – 2 of 2) sorted by relevance
109 MessageDigest expectedDigest = in getDigest_returnsCorrectDigest() local111 expectedDigest.update(TEST_CHUNK_1); in getDigest_returnsCorrectDigest()112 expectedDigest.update(TEST_CHUNK_2); in getDigest_returnsCorrectDigest()113 assertThat(actualDigest).isEqualTo(expectedDigest.digest()); in getDigest_returnsCorrectDigest()
175 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()177 if (!MessageDigest.isEqual(expectedDigest, actualDigest)) { in verifyIntegrityFor1MbChunkBasedAlgorithm()366 byte[] expectedDigest, in verifyIntegrityForVerityBasedAlgorithm() argument370 byte[] expectedRootHash = parseVerityDigestAndVerifySourceLength(expectedDigest, in verifyIntegrityForVerityBasedAlgorithm()