Home
last modified time | relevance | path

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

/mcuboot-2.7.6/scripts/imgtool/
Dimage.py133 def __init__(self, version=None, header_size=IMAGE_HEADER_SIZE, argument
144 self.header_size = header_size
177 self.header_size,
204 if self.pad_header and self.header_size > 0:
207 self.base_addr -= self.header_size
208 self.payload = bytes([self.erased_val] * self.header_size) + \
246 if self.header_size > 0 and not self.pad_header:
247 if any(v != 0 for v in self.payload[0:self.header_size]):
463 img = bytes(self.payload[self.header_size:])
464 self.payload[self.header_size:] = \
[all …]
Dmain.py300 def sign(key, public_key_format, align, version, pad_sig, header_size, argument
310 img = image.Image(version=decode_version(version), header_size=header_size,