Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/efuse/src/
Desp_efuse_fields.c58 uint32_t secure_version; in emulate_secure_version_read() local
69 memcpy(&secure_version, efuse_place_in_flash, sizeof(uint32_t)); in emulate_secure_version_read()
71 secure_version = ~secure_version; in emulate_secure_version_read()
72 ESP_LOGV(TAG, "Read 0x%08x secure_version from flash", secure_version); in emulate_secure_version_read()
73 return secure_version; in emulate_secure_version_read()
76 static void emulate_secure_version_write(uint32_t secure_version) in emulate_secure_version_write() argument
78 uint32_t secure_version_wr = ~secure_version; in emulate_secure_version_write()
88 ESP_LOGV(TAG, "Write 0x%08x secure_version into flash", secure_version); in emulate_secure_version_write()
95 uint32_t secure_version = 0; in esp_efuse_read_secure_version() local
99 secure_version = emulate_secure_version_read(); in esp_efuse_read_secure_version()
[all …]
/device/soc/esp/esp32/components/app_update/
Desp_app_desc.c38 .secure_version = CONFIG_BOOTLOADER_APP_SECURE_VERSION,
40 .secure_version = 0,
Desp_ota_ops.c468 if (esp_efuse_check_secure_version(partition_app_desc.secure_version) == false) { in esp_ota_set_boot_partition()
652 return esp_efuse_update_secure_version(app_desc->secure_version); in esp_ota_set_anti_rollback()
700 esp_efuse_check_secure_version(app_desc.secure_version) == true) { in esp_ota_check_rollback_is_possible()
/device/soc/esp/esp32/components/efuse/include/
Desp_efuse.h401 bool esp_efuse_check_secure_version(uint32_t secure_version);
415 esp_err_t esp_efuse_update_secure_version(uint32_t secure_version);
/device/soc/esp/esp32/components/bootloader_support/include/
Desp_app_format.h116 uint32_t secure_version; /*!< Secure version */ member
/device/soc/esp/esp32/components/esp_system/
Dstartup.c386 ESP_EARLY_LOGI(TAG, "Secure version: %d", app_desc->secure_version); in start_cpu0_default()
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_utility.c274 return err == ESP_OK && esp_efuse_check_secure_version(app_desc.secure_version) == true; in check_anti_rollback()
286 esp_efuse_update_secure_version(app_desc.secure_version); in update_anti_rollback()