Home
last modified time | relevance | path

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

/hal_espressif-latest/tools/esptool_py/espsecure/
D__init__.py43 SECTOR_SIZE = 4096 variable
416 if len(contents) % SECTOR_SIZE != 0:
424 pad_by = SECTOR_SIZE - (len(contents) % SECTOR_SIZE)
462 contents = contents[: len(contents) - SECTOR_SIZE]
526 b"\xff" * (SECTOR_SIZE - len(signature_sector))
528 if len(signature_sector) != SECTOR_SIZE:
801 offset = -SECTOR_SIZE + sig_blk_num * SIG_BLOCK_SIZE
851 if len(image_content) < SECTOR_SIZE or len(image_content) % SECTOR_SIZE != 0:
867 digest = _sha384_digest(image_content[:-SECTOR_SIZE])
870 digest = _sha256_digest(image_content[:-SECTOR_SIZE])
[all …]