Searched refs:padded_length (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/bootloader_support/src/secure_boot_v2/ |
D | secure_boot_signatures_bootloader.c | 33 uint32_t padded_length = ALIGN_UP(length, FLASH_SECTOR_SIZE); in esp_secure_boot_verify_signature() local 37 esp_err_t err = bootloader_sha256_flash_contents(src_addr, padded_length, digest); in esp_secure_boot_verify_signature() 39 ESP_LOGE(TAG, "Digest calculation failed 0x%x, 0x%x", src_addr, padded_length); in esp_secure_boot_verify_signature() 43 …const ets_secure_boot_signature_t *sig_block = bootloader_mmap(src_addr + padded_length, sizeof(et… in esp_secure_boot_verify_signature() 45 ESP_LOGE(TAG, "Failed to mmap data at offset 0x%x", src_addr + padded_length); in esp_secure_boot_verify_signature()
|
D | secure_boot_signatures_app.c | 175 uint32_t padded_length = ALIGN_UP(length, FLASH_SECTOR_SIZE); in esp_secure_boot_verify_signature() local 178 esp_err_t err = bootloader_sha256_flash_contents(src_addr, padded_length, digest); in esp_secure_boot_verify_signature() 180 ESP_LOGE(TAG, "Digest calculation failed 0x%"PRIx32", 0x%"PRIx32, src_addr, padded_length); in esp_secure_boot_verify_signature() 184 …const ets_secure_boot_signature_t *sig_block = bootloader_mmap(src_addr + padded_length, sizeof(et… in esp_secure_boot_verify_signature() 186 ESP_LOGE(TAG, "Failed to mmap data at offset 0x%"PRIx32, src_addr + padded_length); in esp_secure_boot_verify_signature()
|