Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java62 public final byte[] rootHash; field in VerityBuilder.VerityResult
64 private VerityResult(ByteBuffer verityData, int merkleTreeSize, byte[] rootHash) { in VerityResult() argument
67 this.rootHash = rootHash; in VerityResult()
188 return result.rootHash; in generateApkVerity()
378 byte[] rootHash = new byte[DIGEST_SIZE_BYTES]; in generateFsVerityTreeInternal()
379 BufferedDigester digester = new BufferedDigester(salt, ByteBuffer.wrap(rootHash)); in generateFsVerityTreeInternal()
382 return rootHash; in generateFsVerityTreeInternal()
408 byte[] rootHash = new byte[DIGEST_SIZE_BYTES]; in generateVerityTreeInternal()
409 BufferedDigester digester = new BufferedDigester(salt, ByteBuffer.wrap(rootHash)); in generateVerityTreeInternal()
412 return rootHash; in generateVerityTreeInternal()
DApkSigningBlockUtils.java379 if (!Arrays.equals(expectedRootHash, verity.rootHash)) { in verifyIntegrityForVerityBasedAlgorithm()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java21125 final byte[] rootHash = VerityUtils.generateApkVerityRootHash(filePath); in setUpFsVerityIfPossible()
21129 mInstaller.assertFsverityRootHashMatches(filePath, rootHash); in setUpFsVerityIfPossible()
21132 mInstaller.assertFsverityRootHashMatches(filePath, rootHash); in setUpFsVerityIfPossible()