Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bootloader_support/src/
Dflash_encrypt.c46 uint8_t flash_crypt_cnt = 0; in esp_flash_encryption_init_checks() local
47 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_flash_encryption_init_checks()
48 if (flash_crypt_cnt == (1<<(CRYPT_CNT[0]->bit_count))-1) { in esp_flash_encryption_init_checks()
88 uint32_t flash_crypt_cnt = 0; in esp_flash_encryption_enabled()
90 …esp_efuse_read_field_blob(ESP_EFUSE_FLASH_CRYPT_CNT, &flash_crypt_cnt, ESP_EFUSE_FLASH_CRYPT_CNT[0… in esp_flash_encryption_enabled()
92 …esp_efuse_read_field_blob(ESP_EFUSE_SPI_BOOT_CRYPT_CNT, &flash_crypt_cnt, ESP_EFUSE_SPI_BOOT_CRYPT… in esp_flash_encryption_enabled()
96 while (flash_crypt_cnt) { in esp_flash_encryption_enabled()
97 if (flash_crypt_cnt & 1) { in esp_flash_encryption_enabled()
100 flash_crypt_cnt >>= 1; in esp_flash_encryption_enabled()
121 uint8_t flash_crypt_cnt = 0; in esp_get_flash_encryption_mode() local
[all …]
/hal_espressif-latest/components/hal/
Defuse_hal.c39 uint32_t flash_crypt_cnt = efuse_ll_get_flash_crypt_cnt(); in efuse_hal_flash_encryption_enabled() local
41 while (flash_crypt_cnt) { in efuse_hal_flash_encryption_enabled()
42 if (flash_crypt_cnt & 1) { in efuse_hal_flash_encryption_enabled()
45 flash_crypt_cnt >>= 1; in efuse_hal_flash_encryption_enabled()
/hal_espressif-latest/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c50 size_t flash_crypt_cnt = 0; in get_flash_encrypt_cnt_value() local
51 esp_efuse_read_field_cnt(CRYPT_CNT, &flash_crypt_cnt); in get_flash_encrypt_cnt_value()
52 return flash_crypt_cnt; in get_flash_encrypt_cnt_value()
73 size_t flash_crypt_cnt = get_flash_encrypt_cnt_value(); in esp_flash_encrypt_state() local
76 ESP_LOGV(TAG, "CRYPT_CNT %d, write protection %d", flash_crypt_cnt, flash_crypt_wr_dis); in esp_flash_encrypt_state()
78 if (flash_crypt_cnt % 2 == 1) { in esp_flash_encrypt_state()
80 int left = (FLASH_ENC_CNT_MAX - flash_crypt_cnt) / 2; in esp_flash_encrypt_state()
293 size_t flash_crypt_cnt = get_flash_encrypt_cnt_value(); in esp_flash_encrypt_enable() local
298 size_t new_flash_crypt_cnt = FLASH_ENC_CNT_MAX - flash_crypt_cnt; in esp_flash_encrypt_enable()
303 ESP_LOGD(TAG, "CRYPT_CNT %d -> %d", flash_crypt_cnt, new_flash_crypt_cnt); in esp_flash_encrypt_enable()
/hal_espressif-latest/tools/esptool_py/esptool/targets/
Desp32.py184 flash_crypt_cnt = (
189 return bin(flash_crypt_cnt).count("1") & 1 != 0
/hal_espressif-latest/components/soc/esp32/include/soc/
Defuse_struct.h264 uint32_t flash_crypt_cnt:7; member
/hal_espressif-latest/tools/esptool_py/esptool/
Dcmds.py1362 flash_crypt_cnt = bin(si["flash_crypt_cnt"])
1363 if (flash_crypt_cnt.count("1") % 2) != 0:
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dserial-protocol.rst1flash_crypt_cnt``, 7x1 byte ``key_purposes``, 32-bit word ``chip_id``, 32-bit word ``eco_version``…