Searched refs:digestSize (Results 1 – 1 of 1) sorted by relevance
146 int digestSize = mMd.getDigestLength(); in generateVerityTree() local150 int[] levelOffset = calculateLevelOffset(fileSource.size(), digestSize); in generateVerityTree()169 long totalOutput = divideRoundup(src.size(), CHUNK_SIZE) * digestSize; in generateVerityTree()193 private static int[] calculateLevelOffset(long dataSize, int digestSize) { in calculateLevelOffset() argument198 long size = CHUNK_SIZE * divideRoundup(chunkCount * digestSize, CHUNK_SIZE); in calculateLevelOffset()200 if (chunkCount * digestSize <= CHUNK_SIZE) { in calculateLevelOffset()203 dataSize = chunkCount * digestSize; in calculateLevelOffset()