Home
last modified time | relevance | path

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

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
H A DFsVerityInfoSegment.java51 private static final int MAGIC = (0x1E38 << 16) + (0x31AB); field in FsVerityInfoSegment
55 private int magic = MAGIC;
72 this(MAGIC, version, hashAlgorithm, log2BlockSize, new byte[RESERVED_BYTE_ARRAY_LENGTH]); in FsVerityInfoSegment()
126 if (inMagic != MAGIC) { in fromByteArray()
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/include/
H A Dfs_verity_info_segment.h41 static constexpr int MAGIC = static_cast<int>((0x1E38 << 16) + (0x31AB));; member in OHOS::SignatureTools::FsVerityInfoSegment
43 int magic = MAGIC;
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Dfs_verity_info_segment.cpp22 magic = MAGIC; in FsVerityInfoSegment()
28 magic = MAGIC; in FsVerityInfoSegment()
78 if (inMagic != MAGIC) { in FromByteArray()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
H A DHwSignHead.java38 public static final char[] MAGIC = "hw signed app ".toCharArray(); field in HwSignHead
67 start = ByteArrayUtils.insertCharToByteArray(signHead, start, MAGIC); in getSignHead()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsign_head.cpp27 const std::string SignHead::MAGIC = "hw signed app "; member in OHOS::SignatureTools::SignHead
45 start = ByteArrayUtils::InsertCharToByteArray(signHead, start, MAGIC); in GetSignHead()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/include/
H A Dsign_head.h30 static const std::string MAGIC; member in OHOS::SignatureTools::SignHead
/developtools/hdc/src/common/
H A Dheader.cpp22 constexpr uint8_t MAGIC[HEADER_MAGIC_LEN] = {'u', 's', 't', 'a', 'r', 0x20}; member
35 (void)memcpy_s(magic, HEADER_MAGIC_LEN, MAGIC, HEADER_MAGIC_LEN); in Header()
/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 4 milliseconds