Searched refs:boot_key_digests (Results 1 – 1 of 1) sorted by relevance
/mcuboot-latest/boot/espressif/hal/src/ |
D | secure_boot.c | 182 esp_image_sig_public_key_digests_t boot_key_digests = {0}; in check_and_generate_secure_boot_keys() local 187 …ests(bootloader_data.start_addr, bootloader_data.image_len - SIG_BLOCK_PADDING, &boot_key_digests); in check_and_generate_secure_boot_keys() 193 if (boot_key_digests.num_digests == 0) { in check_and_generate_secure_boot_keys() 197 …ESP_LOGI(TAG, "%d signature block(s) found appended to the bootloader.", boot_key_digests.num_dige… in check_and_generate_secure_boot_keys() 200 …ret = esp_efuse_write_keys(secure_boot_key_purpose, boot_key_digests.key_digests, boot_key_digests… in check_and_generate_secure_boot_keys() 203 …OGE(TAG, "Bootloader signatures(%d) more than available key slots.", boot_key_digests.num_digests); in check_and_generate_secure_boot_keys() 238 …ret = esp_efuse_read_block(blocks[i], boot_key_digests.key_digests[boot_key_digests.num_digests], … in check_and_generate_secure_boot_keys() 244 boot_key_digests.num_digests++; in check_and_generate_secure_boot_keys() 246 if (boot_key_digests.num_digests == 0) { in check_and_generate_secure_boot_keys() 255 if (boot_key_digests.num_digests < SECURE_BOOT_NUM_BLOCKS) { in check_and_generate_secure_boot_keys() [all …]
|