Searched refs:digest_size (Results 1 – 6 of 6) sorted by relevance
/base/security/code_signature/utils/src/ |
D | fsverity_utils_helper.cpp | 64 ret->digest_size = cpu_to_le16(digest->digest_size); in FormatDigest() 65 if (memcpy_s(ret->digest, MAX_DIGEST_SIZE, digest->digest, digest->digest_size) != EOK) { in FormatDigest() 101 uint32_t digestLen = sizeof(struct fsverity_formatted_digest) + digest->digest_size; in GenerateFormattedDigest()
|
/base/startup/hvb/tools/ |
D | hvbtool.py | 131 self.digest_offset, self.digest_size, self.hashtree_offset, self.hashtree_size, \ 135 self.digest = struct.unpack('{}s'.format(self.digest_size), \ 136 … self.cert[240 + self.salt_size : 240 + self.salt_size + self.digest_size]) 137 hash_payload_size = self.salt_size + self.digest_size 157 msg += "\tdigest size: {} bytes\n".format(self.digest_size) 766 digest_size = struct.pack('Q', len(self.digest)) 767 return hash_algo + salt_offset + salt_size + digest_offset + digest_size 812 def create_hashtree(self, digest_size): argument 822 level_size = round_to_multiple(blocknum * digest_size, self.block_size) 865 digest_size = len(hashtree_hasher.digest()) [all …]
|
/base/startup/hvb/libhvb/src/cert/ |
D | hvb_cert.c | 103 struct hvb_buf digest_buf = {cert->hash_payload.digest, cert->digest_size}; in hash_image_init_desc() 184 if (!_decode_octets(&buf, cert->digest_size, p, end)) { in _hvb_cert_payload_parser() 216 if (cur_header + cert->digest_size > end || cur_header + cert->digest_size <= cur_header) { in _hvb_cert_payload_parser_v2() 221 *p = cur_header + cert->digest_size; in _hvb_cert_payload_parser_v2()
|
/base/startup/hvb/libhvb/include/ |
D | hvb_cert.h | 124 uint64_t digest_size; member
|
/base/update/packaging_tools/ |
D | create_hashdata.py | 72 self.hash_digest_size = HashAlgo[hash_type]().digest_size
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
D | fs_hvb.c | 417 RETURN_ERR_IF_APPEND_OCTETS_ERR(&p, end, (char *)cert->hash_payload.digest, cert->digest_size); in FsHvbConstructVerityTarget()
|