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()169 return result.rootHash; in generateApkVerity()359 byte[] rootHash = new byte[DIGEST_SIZE_BYTES]; in generateFsVerityTreeInternal()360 BufferedDigester digester = new BufferedDigester(salt, ByteBuffer.wrap(rootHash)); in generateFsVerityTreeInternal()363 return rootHash; in generateFsVerityTreeInternal()389 byte[] rootHash = new byte[DIGEST_SIZE_BYTES]; in generateVerityTreeInternal()390 BufferedDigester digester = new BufferedDigester(salt, ByteBuffer.wrap(rootHash)); in generateVerityTreeInternal()393 return rootHash; in generateVerityTreeInternal()
379 if (!Arrays.equals(expectedRootHash, verity.rootHash)) { in verifyIntegrityForVerityBasedAlgorithm()
662 byte[] rootHash = signer.contentDigests.getOrDefault( in extractHashFromFS()664 if (rootHash != null) { in extractHashFromFS()666 verityHashForFile(new File(filePath), rootHash)); in extractHashFromFS()682 static byte[] verityHashForFile(File file, byte[] rootHash) { in verityHashForFile() argument692 buffer.put(rootHash); // root_hash, first 32 bytes in verityHashForFile()