Home
last modified time | relevance | path

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

/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_elf.cpp304 std::unique_ptr<ByteBuffer> blockBuffer = std::make_unique<ByteBuffer>(blockByte.size()); in GetElfSignBlock() local
305 blockBuffer->PutData(blockByte.data(), blockByte.size()); in GetElfSignBlock()
306 blockBuffer->Flip(); in GetElfSignBlock()
312 blockBuffer->GetByte((int8_t*)&type, sizeof(int8_t)); in GetElfSignBlock()
313 blockBuffer->GetByte((int8_t*)&tag, sizeof(int8_t)); in GetElfSignBlock()
314 blockBuffer->GetInt16(empValue); in GetElfSignBlock()
315 blockBuffer->GetInt32(length); in GetElfSignBlock()
316 blockBuffer->GetInt32(blockOffset); in GetElfSignBlock()
332 std::unique_ptr<ByteBuffer> blockBuffer = std::make_unique<ByteBuffer>(blockByte.size()); in GetBinSignBlock() local
333 blockBuffer in GetBinSignBlock()
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
H A DVerifyElf.java285 ByteBuffer blockBuffer = ByteBuffer.wrap(blockByte).order(ByteOrder.LITTLE_ENDIAN); in getSignBlock()
286 char type = blockBuffer.getChar(); in getSignBlock()
287 char tag = blockBuffer.getChar(); in getSignBlock()
288 int length = blockBuffer.getInt(); in getSignBlock()
289 int blockOffset = blockBuffer.getInt(); in getSignBlock()

Completed in 2 milliseconds