Searched refs:CRYPT_CNT (Results 1 – 2 of 2) sorted by relevance
16 #define CRYPT_CNT ESP_EFUSE_FLASH_CRYPT_CNT macro19 #define CRYPT_CNT ESP_EFUSE_SPI_BOOT_CRYPT_CNT macro46 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_flash_encryption_init_checks()47 if (flash_crypt_cnt == (1<<(CRYPT_CNT[0]->bit_count))-1) { in esp_flash_encryption_init_checks()102 esp_efuse_read_field_blob(CRYPT_CNT, &flash_crypt_cnt, CRYPT_CNT[0]->bit_count); in esp_get_flash_encryption_mode()103 if (flash_crypt_cnt == (1 << (CRYPT_CNT[0]->bit_count)) - 1) { in esp_get_flash_encryption_mode()157 esp_efuse_read_field_cnt(CRYPT_CNT, &flash_crypt_cnt); in esp_flash_encryption_set_release_mode()158 if (flash_crypt_cnt != CRYPT_CNT[0]->bit_count) { in esp_flash_encryption_set_release_mode()159 esp_efuse_write_field_cnt(CRYPT_CNT, CRYPT_CNT[0]->bit_count - flash_crypt_cnt); in esp_flash_encryption_set_release_mode()
22 #define CRYPT_CNT ESP_EFUSE_FLASH_CRYPT_CNT macro25 #define CRYPT_CNT ESP_EFUSE_SPI_BOOT_CRYPT_CNT macro47 esp_efuse_read_field_cnt(CRYPT_CNT, &flash_crypt_cnt); in esp_flash_encrypt_check_and_update()54 int left = (CRYPT_CNT[0]->bit_count - flash_crypt_cnt) / 2; in esp_flash_encrypt_check_and_update()189 if (flash_crypt_wr_dis || flash_crypt_cnt == CRYPT_CNT[0]->bit_count) { in encrypt_flash_contents()228 size_t new_flash_crypt_cnt = CRYPT_CNT[0]->bit_count - flash_crypt_cnt; in encrypt_flash_contents()234 err = esp_efuse_write_field_cnt(CRYPT_CNT, new_flash_crypt_cnt); in encrypt_flash_contents()