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()
184 return result.rootHash; in generateApkVerity()
379 byte[] rootHash = new byte[DIGEST_SIZE_BYTES]; in generateVerityTreeInternal()
380 BufferedDigester digester = new BufferedDigester(salt, ByteBuffer.wrap(rootHash)); in generateVerityTreeInternal()
383 return rootHash; in generateVerityTreeInternal()
DApkSigningBlockUtils.java342 if (!Arrays.equals(expectedRootHash, verity.rootHash)) { in verifyIntegrityForVerityBasedAlgorithm()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17519 final byte[] rootHash = VerityUtils.generateApkVerityRootHash(filePath);
17523 mInstaller.assertFsverityRootHashMatches(filePath, rootHash);
17526 mInstaller.assertFsverityRootHashMatches(filePath, rootHash);