Searched refs:verityBuffer (Results 1 – 1 of 1) sorted by relevance
128 ByteBuffer verityBuffer = generateVerityTree(fileSource); in generateVerityTreeRootHash() local129 return getRootHashFromTree(verityBuffer); in generateVerityTreeRootHash()152 ByteBuffer verityBuffer = ByteBuffer.allocate(levelOffset[levelOffset.length - 1]); in generateVerityTree() local157 slice(verityBuffer, levelOffset[i], levelOffset[i + 1])); in generateVerityTree()163 src = DataSources.asDataSource(slice(verityBuffer.asReadOnlyBuffer(), in generateVerityTree()176 return verityBuffer; in generateVerityTree()182 public byte[] getRootHashFromTree(ByteBuffer verityBuffer) throws IOException { in getRootHashFromTree() argument183 ByteBuffer firstPage = slice(verityBuffer.asReadOnlyBuffer(), 0, CHUNK_SIZE); in getRootHashFromTree()