Searched refs:rootHash (Results 1 – 3 of 3) sorted by relevance
62 public final byte[] rootHash; field in VerityBuilder.VerityResult64 private VerityResult(ByteBuffer verityData, int merkleTreeSize, byte[] rootHash) { in VerityResult() argument67 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()
379 if (!Arrays.equals(expectedRootHash, verity.rootHash)) { in verifyIntegrityForVerityBasedAlgorithm()
21125 final byte[] rootHash = VerityUtils.generateApkVerityRootHash(filePath); in setUpFsVerityIfPossible()21129 mInstaller.assertFsverityRootHashMatches(filePath, rootHash); in setUpFsVerityIfPossible()21132 mInstaller.assertFsverityRootHashMatches(filePath, rootHash); in setUpFsVerityIfPossible()