Home
last modified time | relevance | path

Searched refs:round_to_multiple (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/startup/hvb/tools/
H A Dhvbtool.py62 def round_to_multiple(num, size): function
732 self.img_len_with_padding = round_to_multiple(self.original_image_length, self.block_size)
798 … level_output_padding = round_to_multiple(len(level_output), self.block_size) - len(level_output)
822 level_size = round_to_multiple(blocknum * digest_size, self.block_size)
995 padding = round_to_multiple(image.img_size, self.block_size)
1001 padding = round_to_multiple((hvb_cert_length + self.FOOTER_SIZE), self.block_size)