Searched refs:SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance
43 SECTOR_SIZE = 4096 variable416 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_SIZE851 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 …]