Home
last modified time | relevance | path

Searched refs:fullChunkSize (Results 1 - 2 of 2) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
H A DMerkleTreeBuilder.java96 int fullChunkSize = (int) getFullChunkSize(readSize, CHUNK_SIZE, CHUNK_SIZE); in transInputStreamToHashData()
98 ByteBuffer byteBuffer = ByteBuffer.allocate(fullChunkSize); in transInputStreamToHashData()
175 long fullChunkSize = 0L; in getLevelSize()
178 fullChunkSize = getFullChunkSize(originalDataSize, CHUNK_SIZE, digestSize); in getLevelSize()
179 long size = getFullChunkSize(fullChunkSize, CHUNK_SIZE, CHUNK_SIZE); in getLevelSize()
181 originalDataSize = fullChunkSize; in getLevelSize()
182 } while (fullChunkSize > CHUNK_SIZE); in getLevelSize()
331 long fullChunkSize = getFullChunkSize(originalDataSize, CHUNK_SIZE, digestSize); in dataRoundupChunkSize()
332 int diffValue = (int) (fullChunkSize % CHUNK_SIZE); in dataRoundupChunkSize()
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dmerkle_tree_builder.cpp64 int fullChunkSize = (int)(GetFullChunkSize(readSize, CHUNK_SIZE, CHUNK_SIZE)); in GetDataHashes() local
65 ByteBuffer* byteBuffer(new ByteBuffer(fullChunkSize)); in GetDataHashes()
128 long fullChunkSize = 0L; in GetLevelSize() local
131 fullChunkSize = GetFullChunkSize(originalDataSize, CHUNK_SIZE, digestSize); in GetLevelSize()
132 int size = GetFullChunkSize(fullChunkSize, CHUNK_SIZE, CHUNK_SIZE); in GetLevelSize()
134 originalDataSize = fullChunkSize; in GetLevelSize()
135 } while (fullChunkSize > CHUNK_SIZE); in GetLevelSize()
279 long fullChunkSize = GetFullChunkSize(originalDataSize, CHUNK_SIZE, digestSize); in DataRoundupChunkSize() local
280 int diffValue = (int)(fullChunkSize % CHUNK_SIZE); in DataRoundupChunkSize()

Completed in 2 milliseconds