Home
last modified time | relevance | path

Searched refs:log2BlockSize (Results 1 - 6 of 6) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
H A DFsVerityInfoSegment.java38 * 4) u8 log2BlockSize: log2 of size of data and tree blocks
61 private byte log2BlockSize; field in FsVerityInfoSegment
71 public FsVerityInfoSegment(byte version, byte hashAlgorithm, byte log2BlockSize) { in FsVerityInfoSegment() argument
72 this(MAGIC, version, hashAlgorithm, log2BlockSize, new byte[RESERVED_BYTE_ARRAY_LENGTH]); in FsVerityInfoSegment()
81 * @param log2BlockSize log2 of size of data and tree blocks
84 public FsVerityInfoSegment(int magic, byte version, byte hashAlgorithm, byte log2BlockSize, byte[] reserved) { in FsVerityInfoSegment() argument
88 this.log2BlockSize = log2BlockSize; in FsVerityInfoSegment()
106 bf.put(log2BlockSize); in toByteArray()
139 throw new VerifyCodeSignException("Invalid log2BlockSize o in fromByteArray()
[all...]
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Dfs_verity_info_segment.cpp26 FsVerityInfoSegment::FsVerityInfoSegment(int8_t version, int8_t hashAlgorithm, int8_t log2BlockSize) in FsVerityInfoSegment() argument
31 this->log2BlockSize = log2BlockSize; in FsVerityInfoSegment()
36 int8_t log2BlockSize, const std::vector<int8_t>& reserved) in FsVerityInfoSegment()
41 this->log2BlockSize = log2BlockSize; in FsVerityInfoSegment()
60 bf->PutByte(log2BlockSize); in ToByteArray()
35 FsVerityInfoSegment(int magic, int8_t version, int8_t hashAlgorithm, int8_t log2BlockSize, const std::vector<int8_t>& reserved) FsVerityInfoSegment() argument
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/include/
H A Dfs_verity_descriptor.h66 this->log2BlockSize = builder.log2BlockSize; in FsVerityDescriptor()
100 Builder& SetLog2BlockSize(uint8_t log2BlockSize) in SetLog2BlockSize() argument
102 this->log2BlockSize = log2BlockSize; in SetLog2BlockSize()
157 uint8_t log2BlockSize; member in OHOS::SignatureTools::FsVerityDescriptor::Builder
171 uint8_t log2BlockSize; member in OHOS::SignatureTools::FsVerityDescriptor
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/include/
H A Dfs_verity_info_segment.h32 FsVerityInfoSegment(int8_t version, int8_t hashAlgorithm, int8_t log2BlockSize);
34 int8_t log2BlockSize, const std::vector<int8_t>& reserved);
46 int8_t log2BlockSize = 0; member in OHOS::SignatureTools::FsVerityInfoSegment
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
H A DFsVerityDescriptor.java29 * uint8 log2BlockSize
100 private byte log2BlockSize; field in FsVerityDescriptor
124 this.log2BlockSize = builder.log2BlockSize; in FsVerityDescriptor()
196 buffer.put(log2BlockSize); in toByteArray()
224 buffer.put(log2BlockSize); in getDiscByte()
252 buffer.put(log2BlockSize); in getDiscByteCsv2()
299 private byte log2BlockSize; field in FsVerityDescriptor.Builder
334 public Builder setLog2BlockSize(byte log2BlockSize) { in setLog2BlockSize() argument
335 this.log2BlockSize in setLog2BlockSize()
[all...]
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dfs_verity_descriptor.cpp78 buffer->PutByte(log2BlockSize); in ToByteArray()
107 buffer->PutByte(log2BlockSize); in GetByteForGenerateDigest()

Completed in 3 milliseconds