Home
last modified time | relevance | path

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

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DDecryptedChunkFileOutputTest.java109 MessageDigest expectedDigest = in getDigest_returnsCorrectDigest() local
111 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()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java175 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()
177 if (!MessageDigest.isEqual(expectedDigest, actualDigest)) { in verifyIntegrityFor1MbChunkBasedAlgorithm()
366 byte[] expectedDigest, in verifyIntegrityForVerityBasedAlgorithm() argument
370 byte[] expectedRootHash = parseVerityDigestAndVerifySourceLength(expectedDigest, in verifyIntegrityForVerityBasedAlgorithm()