Home
last modified time | relevance | path

Searched refs:EFUSE_BLK_KEY_MAX (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-3.7.0/components/efuse/src/efuse_controller/keys/with_key_purposes/
Desp_efuse_api_key.c38 const esp_efuse_keys_t s_table[EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0] = {
88 } else if (blk >= EFUSE_BLK_KEY0 && blk < EFUSE_BLK_KEY_MAX) { in esp_efuse_set_write_protect()
98 if (blk >= EFUSE_BLK_KEY0 && blk < EFUSE_BLK_KEY_MAX) { in esp_efuse_set_read_protect()
123 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_get_purpose_field()
132 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_get_key()
141 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_read()
148 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_read()
157 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_write()
164 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_write()
173 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_get_key_purpose()
[all …]
/hal_espressif-3.7.0/components/efuse/test_apps/main/with_key_purposes/
Dtest_efuse_keys.c34 for (esp_efuse_block_t num_key = EFUSE_BLK_KEY0; num_key < EFUSE_BLK_KEY_MAX; ++num_key) {
161 … for (esp_efuse_block_t num_key = (EFUSE_BLK_KEY_MAX - 1); num_key >= EFUSE_BLK_KEY0; --num_key) {
182 esp_efuse_block_t key_block = EFUSE_BLK_KEY_MAX;
200 …TEST_ASSERT_EQUAL_MESSAGE(EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0, esp_efuse_count_unused_key_blocks(),…
220 int max_keys = EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0;
221 for (esp_efuse_block_t num_key = EFUSE_BLK_KEY0; num_key < EFUSE_BLK_KEY_MAX; ++num_key) {
223 TEST_ASSERT_EQUAL(EFUSE_BLK_KEY_MAX - num_key, esp_efuse_count_unused_key_blocks());
225 TEST_ASSERT_EQUAL(EFUSE_BLK_KEY_MAX - num_key - 1, esp_efuse_count_unused_key_blocks());
242 …TEST_ASSERT_EQUAL_MESSAGE(EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0, esp_efuse_count_unused_key_blocks(),…
254 int max_keys = EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0;
[all …]
/hal_espressif-3.7.0/components/efuse/src/efuse_controller/keys/without_key_purposes/one_key_block/
Desp_efuse_api_key.c35 const esp_efuse_keys_t s_table[EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0] = {
42 if (blk < EFUSE_BLK_KEY0 || blk >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_write_protect()
52 if (blk < EFUSE_BLK_KEY0 || blk >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_read_protect()
73 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_block_is_empty()
94 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_read()
107 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_read()
120 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_write()
127 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_write()
136 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_key_block_unused()
150 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_get_key_purpose()
[all …]
/hal_espressif-3.7.0/components/efuse/src/efuse_controller/keys/without_key_purposes/three_key_blocks/
Desp_efuse_api_key.c31 const esp_efuse_keys_t s_table[EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0] = {
103 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_read()
110 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_read()
119 assert(block >= EFUSE_BLK_KEY0 && block < EFUSE_BLK_KEY_MAX); in esp_efuse_get_key_dis_write()
126 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_set_key_dis_write()
135 if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX) { in esp_efuse_key_block_unused()
177 for (esp_efuse_block_t b = EFUSE_BLK_KEY0; b < EFUSE_BLK_KEY_MAX; b++) { in esp_efuse_find_purpose()
190 …if (block < EFUSE_BLK_KEY0 || block >= EFUSE_BLK_KEY_MAX || key_size_bytes > 32 || purpose >= ESP_… in esp_efuse_write_key()
215 …if (number_of_keys == 0 || number_of_keys > (EFUSE_BLK_KEY_MAX - EFUSE_BLK_KEY0) || keys == NULL |… in esp_efuse_write_keys()
228 for (unsigned i_key = 0; (block < EFUSE_BLK_KEY_MAX) && (i_key < number_of_keys); block++) { in esp_efuse_write_keys()
/hal_espressif-3.7.0/components/efuse/esp32c2/include/
Desp_efuse_chip.h28 EFUSE_BLK_KEY_MAX = 4, enumerator
/hal_espressif-3.7.0/components/efuse/esp32/include/
Desp_efuse_chip.h32 EFUSE_BLK_KEY_MAX = 4, enumerator
/hal_espressif-3.7.0/components/efuse/esp32c3/include/
Desp_efuse_chip.h44 EFUSE_BLK_KEY_MAX = 10, enumerator
/hal_espressif-3.7.0/components/efuse/esp32c6/include/
Desp_efuse_chip.h44 EFUSE_BLK_KEY_MAX = 10, enumerator
/hal_espressif-3.7.0/components/efuse/esp32s2/include/
Desp_efuse_chip.h44 EFUSE_BLK_KEY_MAX = 10, enumerator
/hal_espressif-3.7.0/components/efuse/esp32s3/include/
Desp_efuse_chip.h44 EFUSE_BLK_KEY_MAX = 10, enumerator
/hal_espressif-3.7.0/components/efuse/esp32h2/include/
Desp_efuse_chip.h44 EFUSE_BLK_KEY_MAX = 10, enumerator
/hal_espressif-3.7.0/components/mbedtls/port/ecdsa/
Decdsa_alt.c55 if (efuse_blk < EFUSE_BLK_KEY0 || efuse_blk >= EFUSE_BLK_KEY_MAX) { in esp_ecdsa_privkey_load_mpi()
86 if (efuse_blk < EFUSE_BLK_KEY0 || efuse_blk >= EFUSE_BLK_KEY_MAX) { in esp_ecdsa_privkey_load_pk_context()
/hal_espressif-3.7.0/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot.c171 …se_block_t blocks[SECURE_BOOT_NUM_BLOCKS] = {[0 ... SECURE_BOOT_NUM_BLOCKS-1] = EFUSE_BLK_KEY_MAX}; in check_and_generate_secure_boot_keys()
213 if (blocks[i] == EFUSE_BLK_KEY_MAX) { in check_and_generate_secure_boot_keys()
/hal_espressif-3.7.0/components/efuse/test_apps/main/one_key_block/
Dtest_efuse_keys.c29 for (esp_efuse_block_t num_key = EFUSE_BLK_KEY0; num_key < EFUSE_BLK_KEY_MAX; ++num_key) {
/hal_espressif-3.7.0/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c169 esp_efuse_block_t blocks[BLOCKS_NEEDED] = {[0 ... BLOCKS_NEEDED-1] = EFUSE_BLK_KEY_MAX}; in check_and_generate_encryption_keys()
/hal_espressif-3.7.0/components/efuse/test_apps/main/
Dtest_efuse.c598 for (num_block = EFUSE_BLK_KEY0; num_block < EFUSE_BLK_KEY_MAX; ++num_block) {