Home
last modified time | relevance | path

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

/mcuboot-latest/boot/espressif/hal/src/
Dsecure_boot.c30 …gnature_block(const ets_secure_boot_sig_block_t *block, int block_num, const uint8_t *image_digest) in validate_signature_block() argument
41 if (memcmp(image_digest, block->image_digest, ESP_SECURE_BOOT_DIGEST_LEN)) { in validate_signature_block()
69 uint8_t image_digest[ESP_SECURE_BOOT_DIGEST_LEN] = {0}; in s_calculate_image_public_key_digests() local
77 … ret = bootloader_sha256_flash_contents(flash_offset, sig_block_addr - flash_offset, image_digest); in s_calculate_image_public_key_digests()
94 ret = validate_signature_block(block, i, image_digest); in s_calculate_image_public_key_digests()
113 …bool verified = ets_rsa_pss_verify(&block->key, block->signature, image_digest, temp_verified_dige… in s_calculate_image_public_key_digests()
115 …cdsa.key.point[0], block->ecdsa.signature, block->ecdsa.key.curve_id, image_digest, temp_verified_… in s_calculate_image_public_key_digests()