/hal_espressif-3.7.0/components/bootloader_support/src/secure_boot_v1/ |
D | secure_boot_signatures_bootloader.c | 33 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()
|
D | secure_boot_signatures_app.c | 34 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/ |
D | secure_boot_signatures_bootloader.c | 30 …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()
|
D | secure_boot_signatures_app.c | 131 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/ |
D | bootloader_ecdsa.c | 26 …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/ |
D | bootloader_signature.h | 43 …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/ |
D | rsa_pss.h | 32 …(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);
|
D | secure_boot.h | 96 …_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/ |
D | ecdsa.h | 20 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 58 …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/ |
D | ecdsa.h | 22 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
|
D | rsa_pss.h | 28 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 60 …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/ |
D | ecdsa.h | 22 …t *key, const uint8_t *sig, ECDSA_CURVE curve_id, const uint8_t *digest, uint8_t *verified_digest);
|
D | rsa_pss.h | 28 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 60 …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/ |
D | esp_image_format.c | 119 …_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/ |
D | rsa_pss.h | 35 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 47 …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/ |
D | rsa_pss.h | 36 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 57 …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/ |
D | rsa_pss.h | 35 …(const ets_rsa_pubkey_t *key, const uint8_t *sig, const uint8_t *digest, uint8_t *verified_digest);
|
D | secure_boot.h | 69 …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/ |
D | esp_secure_boot.h | 192 …nst esp_secure_boot_sig_block_t *sig_block, const uint8_t *image_digest, uint8_t *verified_digest);
|