Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bootloader_support/src/secure_boot_v1/
Dsecure_boot_signatures_bootloader.c33 uint8_t verified_digest[ESP_SECURE_BOOT_DIGEST_LEN] = { 0 }; /* ignored in this function */ in esp_secure_boot_verify_signature() local
50 err = esp_secure_boot_verify_ecdsa_signature_block(sigblock, digest, verified_digest); in esp_secure_boot_verify_signature()
59 uint8_t verified_digest[ESP_SECURE_BOOT_DIGEST_LEN] = { 0 }; in esp_secure_boot_verify_signature_block() local
60 return esp_secure_boot_verify_ecdsa_signature_block(sig_block, image_digest, verified_digest); in esp_secure_boot_verify_signature_block()
63 …onst esp_secure_boot_sig_block_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_ecdsa_signature_block() argument
86 verified_digest); in esp_secure_boot_verify_ecdsa_signature_block()
Dsecure_boot_signatures_app.c34 uint8_t verified_digest[ESP_SECURE_BOOT_DIGEST_LEN]; in esp_secure_boot_verify_signature() local
51 err = esp_secure_boot_verify_ecdsa_signature_block(sigblock, digest, verified_digest); in esp_secure_boot_verify_signature()
56 …onst esp_secure_boot_sig_block_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_ecdsa_signature_block() argument
65 memset(verified_digest, 0, ESP_SECURE_BOOT_DIGEST_LEN); in esp_secure_boot_verify_ecdsa_signature_block()
/hal_espressif-3.7.0/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot_signatures_bootloader.c30 …uint8_t verified_digest[ESP_SECURE_BOOT_DIGEST_LEN] = { 0 }; /* Note: this function doesn't do any… in esp_secure_boot_verify_signature() local
49 err = esp_secure_boot_verify_sbv2_signature_block(sig_block, digest, verified_digest); in esp_secure_boot_verify_signature()
105 …onst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_sbv2_signature_block() argument
148 …ets_secure_boot_verify_signature(sig_block, image_digest, trusted.key_digests[0], verified_digest); in esp_secure_boot_verify_sbv2_signature_block()
159 …= ets_secure_boot_verify_signature(sig_block, image_digest, &trusted_key_digests, verified_digest); in esp_secure_boot_verify_sbv2_signature_block()
173 …onst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_rsa_signature_block() argument
175 return esp_secure_boot_verify_sbv2_signature_block(sig_block, image_digest, verified_digest); in esp_secure_boot_verify_rsa_signature_block()
Dsecure_boot_signatures_app.c131 uint8_t verified_digest[ESP_SECURE_BOOT_KEY_DIGEST_LEN] = {0}; in esp_secure_boot_verify_signature() local
149 err = esp_secure_boot_verify_sbv2_signature_block(sig_block, digest, verified_digest); in esp_secure_boot_verify_signature()
160 …onst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_sbv2_signature_block() argument
166 memset(verified_digest, 0, ESP_SECURE_BOOT_KEY_DIGEST_LEN); in esp_secure_boot_verify_sbv2_signature_block()
232 …onst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest) in esp_secure_boot_verify_rsa_signature_block() argument
234 return esp_secure_boot_verify_sbv2_signature_block(sig_block, image_digest, verified_digest); in esp_secure_boot_verify_rsa_signature_block()
/hal_espressif-3.7.0/components/bootloader_support/src/esp32c6/
Dbootloader_ecdsa.c26 …y, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *image_digest, uint8_t *verified_digest) in ets_ecdsa_verify() argument
30 return _rom_ets_ecdsa_verify(key, sig, curve_id, image_digest, verified_digest); in ets_ecdsa_verify()
33 return _rom_ets_ecdsa_verify(key, sig, curve_id, image_digest, verified_digest); in ets_ecdsa_verify()
/hal_espressif-3.7.0/components/bootloader_support/private_include/
Dbootloader_signature.h43 …nst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest);
54 …nst ets_secure_boot_signature_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/
Drsa_pss.h32 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
36 …ts_emsa_pss_verify(const uint8_t *encoded_message, const uint8_t *mhash, uint8_t *verified_digest);
Dsecure_boot.h96 …_t *sig, const uint8_t *image_digest, const uint8_t *trusted_key_digest, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32c2/rom/
Decdsa.h20 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h58 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32c6/rom/
Decdsa.h22 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
Drsa_pss.h28 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h60 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32h2/rom/
Decdsa.h22 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
Drsa_pss.h28 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h60 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/bootloader_support/src/
Desp_image_format.c119 …_handle_t sha_handle, esp_image_metadata_t *data, uint8_t *image_digest, uint8_t *verified_digest);
141 uint8_t verified_digest[HASH_LEN] = { [ 0 ... 31 ] = 0x01 }; in image_load() local
181 err = verify_secure_boot_signature(sha_handle, data, image_digest, verified_digest); in image_load()
217 …ESP_FAULT_ASSERT(!esp_secure_boot_enabled() || memcmp(image_digest, verified_digest, HASH_LEN) == … in image_load()
219 …RT(data->start_addr == ESP_BOOTLOADER_OFFSET || memcmp(image_digest, verified_digest, HASH_LEN) ==… in image_load()
852 …6_handle_t sha_handle, esp_image_metadata_t *data, uint8_t *image_digest, uint8_t *verified_digest) in verify_secure_boot_signature() argument
888 …ESP_FAULT_ASSERT(memcmp(image_digest, verified_digest, HASH_LEN) != 0); /* sanity check that these… in verify_secure_boot_signature()
891 err = esp_secure_boot_verify_ecdsa_signature_block(sig_block, image_digest, verified_digest); in verify_secure_boot_signature()
894 err = esp_secure_boot_verify_sbv2_signature_block(sig_block, image_digest, verified_digest); in verify_secure_boot_signature()
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/
Drsa_pss.h35 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h47 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32c3/rom/
Drsa_pss.h36 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h57 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/
Drsa_pss.h35 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
Dsecure_boot.h69 …int8_t *image_digest, const ets_secure_boot_key_digests_t *trusted_keys, uint8_t *verified_digest);
/hal_espressif-3.7.0/components/bootloader_support/include/
Desp_secure_boot.h192 …nst esp_secure_boot_sig_block_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest);