Home
last modified time | relevance | path

Searched refs:ELF_MAGIC (Results 1 - 5 of 5) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
H A DHwSignHead.java43 public static final char[] ELF_MAGIC = "elf sign block ".toCharArray(); field in HwSignHead
102 for (char c : ELF_MAGIC) { in getSignHeadLittleEndian()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsign_head.cpp28 const std::string SignHead::ELF_MAGIC = "elf sign block "; member in OHOS::SignatureTools::SignHead
76 for (char c : SignHead::ELF_MAGIC) { in GetSignHeadLittleEndian()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/include/
H A Dsign_head.h31 static const std::string ELF_MAGIC; member in OHOS::SignatureTools::SignHead
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
H A DVerifyElf.java251 byte[] magicByte = readByteArrayOffset(bytes, offset, HwSignHead.ELF_MAGIC.length); in getElfSignBlockData()
252 offset += HwSignHead.ELF_MAGIC.length; in getElfSignBlockData()
255 for (int i = 0; i < HwSignHead.ELF_MAGIC.length; i++) { in getElfSignBlockData()
256 if (HwSignHead.ELF_MAGIC[i] != magicByte[i]) { in getElfSignBlockData()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_elf.cpp274 std::string magicStr = (fileType == ELF ? SignHead::ELF_MAGIC : SignHead::MAGIC); in CheckMagicAndVersion()

Completed in 3 milliseconds