Home
last modified time | relevance | path

Searched refs:SIGN_HEAD_LEN (Results 1 - 8 of 8) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsign_head.cpp26 const int SignHead::SIGN_HEAD_LEN = 32; member in OHOS::SignatureTools::SignHead
43 std::vector<int8_t> signHead(SIGN_HEAD_LEN, 0); in GetSignHead()
75 ByteBuffer bf = ByteBuffer(SignHead::SIGN_HEAD_LEN); in GetSignHeadLittleEndian()
87 int8_t ret[SignHead::SIGN_HEAD_LEN]; in GetSignHeadLittleEndian()
88 bf.GetData(0, ret, SignHead::SIGN_HEAD_LEN); in GetSignHeadLittleEndian()
89 std::vector<int8_t> byte(ret, ret + SignHead::SIGN_HEAD_LEN); in GetSignHeadLittleEndian()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
H A DHwSignHead.java33 public static final int SIGN_HEAD_LEN = 32; field in HwSignHead
64 byte[] signHead = new byte[SIGN_HEAD_LEN]; in getSignHead()
101 ByteBuffer bf = ByteBuffer.allocate(SIGN_HEAD_LEN).order(ByteOrder.LITTLE_ENDIAN); in getSignHeadLittleEndian()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/include/
H A Dblock_head.h31 static const int32_t SIGN_HEAD_LEN = 32; member in OHOS::SignatureTools::BlockHead
H A Dsign_head.h29 static const int SIGN_HEAD_LEN; member in OHOS::SignatureTools::SignHead
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_elf.cpp265 blockStart = bytes.size() - SignHead::SIGN_HEAD_LEN - blockSize; in GetSignBlockData()
275 offset = bytes.size() - SignHead::SIGN_HEAD_LEN; in CheckMagicAndVersion()
347 length = bytes.size() - SignHead::SIGN_HEAD_LEN - blockOffset; in GetBinSignBlock()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
H A DVerifyElf.java250 int offset = bytes.length - HwSignHead.SIGN_HEAD_LEN; in getElfSignBlockData()
275 int blockStart = bytes.length - HwSignHead.SIGN_HEAD_LEN - blockSize; in getElfSignBlockData()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
H A DSignBin.java169 long size = FileUtils.getFileLen(outputFile) - FileUtils.getFileLen(inputFile) + HwSignHead.SIGN_HEAD_LEN; in writeSignHeadDataToOutputFile()
/developtools/hapsigner/hapsigntool_cpp/hap/sign/src/
H A Dsign_bin.cpp149 int64_t size = FileUtils::GetFileLen(outputFile) - FileUtils::GetFileLen(inputFile) + SignHead::SIGN_HEAD_LEN; in WriteSignHeadDataToOutputFile()

Completed in 4 milliseconds