Home
last modified time | relevance | path

Searched refs:chunkIndex (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java332 int chunkIndex = 0; in computeOneMbChunkContentDigests() local
356 throw new IOException("Failed to read chunk #" + chunkIndex, e); in computeOneMbChunkContentDigests()
365 5 + chunkIndex * expectedDigestSizeBytes, in computeOneMbChunkContentDigests()
375 chunkIndex++; in computeOneMbChunkContentDigests()
441 private int getOffset(int chunkIndex) { in getOffset() argument
442 return 1 + 4 + chunkIndex * digestOutputSize; in getOffset()
495 chunkDigest.getOffset(chunk.chunkIndex), in run()
584 private final int chunkIndex; field in ApkSigningBlockUtils.ChunkSupplier.Chunk
588 private Chunk(int chunkIndex, ByteBuffer data, int size) { in Chunk() argument
589 this.chunkIndex = chunkIndex; in Chunk()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java252 for (int offset = 0, finish = buffer.capacity(), chunkIndex = readChunkIndex; in digestDataByChunks()
253 offset < finish; offset += CHUNK_SIZE, ++chunkIndex) { in digestDataByChunks()
255 hashes[chunkIndex] = saltedDigest(md, chunk); in digestDataByChunks()