Home
last modified time | relevance | path

Searched refs:DESCRIPTOR_SIZE (Results 1 - 7 of 7) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dfs_verity_descriptor.cpp75 std::unique_ptr<ByteBuffer> buffer = std::make_unique<ByteBuffer>(ByteBuffer(DESCRIPTOR_SIZE)); in ToByteArray()
96 char dataArr[DESCRIPTOR_SIZE] = { 0 }; in ToByteArray()
97 buffer->GetData(dataArr, DESCRIPTOR_SIZE); in ToByteArray()
98 ret = std::vector<int8_t>(dataArr, dataArr + DESCRIPTOR_SIZE); in ToByteArray()
104 std::unique_ptr<ByteBuffer> buffer = std::make_unique<ByteBuffer>(ByteBuffer(DESCRIPTOR_SIZE)); in GetByteForGenerateDigest()
123 char dataArr[DESCRIPTOR_SIZE] = { 0 }; in GetByteForGenerateDigest()
124 buffer->GetData(dataArr, DESCRIPTOR_SIZE); in GetByteForGenerateDigest()
125 ret = std::vector<int8_t>(dataArr, dataArr + DESCRIPTOR_SIZE); in GetByteForGenerateDigest()
H A Dfs_verity_descriptor_with_sign.cpp32 length = FsVerityDescriptor::DESCRIPTOR_SIZE + this->signature.size(); in FsVerityDescriptorWithSign()
47 return INTEGER_BYTES * tmpVariable + FsVerityDescriptor::DESCRIPTOR_SIZE + signature.size(); in Size()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
H A DFsVerityDescriptorWithSign.java52 length = FsVerityDescriptor.DESCRIPTOR_SIZE + this.signature.length; in FsVerityDescriptorWithSign()
76 return Integer.BYTES * 2 + FsVerityDescriptor.DESCRIPTOR_SIZE + signature.length; in size()
H A DFsVerityDescriptor.java77 public static final int DESCRIPTOR_SIZE = 256; field in FsVerityDescriptor
193 ByteBuffer buffer = ByteBuffer.allocate(DESCRIPTOR_SIZE).order(ByteOrder.LITTLE_ENDIAN); in toByteArray()
221 ByteBuffer buffer = ByteBuffer.allocate(DESCRIPTOR_SIZE).order(ByteOrder.LITTLE_ENDIAN); in getDiscByte()
249 ByteBuffer buffer = ByteBuffer.allocate(DESCRIPTOR_SIZE).order(ByteOrder.LITTLE_ENDIAN); in getDiscByteCsv2()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
H A DElfSignBlock.java187 byte[] fsdArray = new byte[FsVerityDescriptor.DESCRIPTOR_SIZE]; in fromByteArray()
190 if (inFsdLength != fsd.getSignSize() + FsVerityDescriptor.DESCRIPTOR_SIZE) { in fromByteArray()
193 byte[] inSignature = new byte[inFsdLength - FsVerityDescriptor.DESCRIPTOR_SIZE]; in fromByteArray()
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Delf_sign_block.cpp110 std::vector<int8_t> fsdArray(FsVerityDescriptor::DESCRIPTOR_SIZE); in FromByteArray()
113 if (inFsdLength != fsd.GetSignSize() + FsVerityDescriptor::DESCRIPTOR_SIZE) { in FromByteArray()
118 std::vector<int8_t> inSignature(inFsdLength - FsVerityDescriptor::DESCRIPTOR_SIZE); in FromByteArray()
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/include/
H A Dfs_verity_descriptor.h34 static const int DESCRIPTOR_SIZE = 256; member in OHOS::SignatureTools::FsVerityDescriptor

Completed in 3 milliseconds