Home
last modified time | relevance | path

Searched refs:key_block (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.4.0/components/efuse/test/
Dtest_efuse_keys.c41 esp_efuse_block_t key_block = EFUSE_BLK_MAX; variable
43 TEST_ASSERT_TRUE(esp_efuse_find_purpose(ESP_EFUSE_KEY_PURPOSE_USER, &key_block));
44 TEST_ASSERT_EQUAL(EFUSE_BLK_KEY0, key_block);
133 esp_efuse_block_t key_block = EFUSE_BLK_KEY_MAX; variable
134 TEST_ASSERT_TRUE(esp_efuse_find_purpose(purpose, &key_block));
135 TEST_ASSERT_EQUAL(num_key, key_block);
217 esp_efuse_block_t key_block = EFUSE_BLK_MAX; variable
241 TEST_ASSERT_TRUE(esp_efuse_find_purpose(purpose1[0], &key_block));
242 TEST_ASSERT_EQUAL(EFUSE_BLK_KEY0, key_block);
243 TEST_ESP_OK(s_check_key(key_block, keys1[0]));
[all …]
/hal_espressif-3.4.0/components/esp_rom/include/esp32c3/rom/
Defuse.h114 int ets_efuse_write_key(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose, const void *data,…
131 ets_efuse_purpose_t ets_efuse_get_key_purpose(ets_efuse_block_t key_block);
140 bool ets_efuse_find_purpose(ets_efuse_purpose_t purpose, ets_efuse_block_t *key_block);
153 bool ets_efuse_key_block_unused(ets_efuse_block_t key_block);
371 int ets_jtag_enable_temporarily(const uint8_t *jtag_hmac_key, ets_efuse_block_t key_block);
Dhmac.h33 int ets_hmac_calculate_message(ets_efuse_block_t key_block, const void *message, size_t message_len…
48 int ets_hmac_calculate_downstream(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose);
/hal_espressif-3.4.0/components/esp_rom/include/esp32h2/rom/
Defuse.h114 int ets_efuse_write_key(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose, const void *data,…
131 ets_efuse_purpose_t ets_efuse_get_key_purpose(ets_efuse_block_t key_block);
140 bool ets_efuse_find_purpose(ets_efuse_purpose_t purpose, ets_efuse_block_t *key_block);
153 bool ets_efuse_key_block_unused(ets_efuse_block_t key_block);
371 int ets_jtag_enable_temporarily(const uint8_t *jtag_hmac_key, ets_efuse_block_t key_block);
Dhmac.h33 int ets_hmac_calculate_message(ets_efuse_block_t key_block, const void *message, size_t message_len…
48 int ets_hmac_calculate_downstream(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose);
/hal_espressif-3.4.0/components/esp_rom/include/esp32s2/rom/
Defuse.h115 int ets_efuse_write_key(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose, const void *data,…
132 ets_efuse_purpose_t ets_efuse_get_key_purpose(ets_efuse_block_t key_block);
141 bool ets_efuse_find_purpose(ets_efuse_purpose_t purpose, ets_efuse_block_t *key_block);
154 bool ets_efuse_key_block_unused(ets_efuse_block_t key_block);
372 int ets_jtag_enable_temporarily(const uint8_t *jtag_hmac_key, ets_efuse_block_t key_block);
Dhmac.h33 int ets_hmac_calculate_message(ets_efuse_block_t key_block, const void *message, size_t message_len…
48 int ets_hmac_calculate_downstream(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose);
/hal_espressif-3.4.0/components/esp_rom/include/esp32s3/rom/
Defuse.h115 int ets_efuse_write_key(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose, const void *data,…
132 ets_efuse_purpose_t ets_efuse_get_key_purpose(ets_efuse_block_t key_block);
141 bool ets_efuse_find_purpose(ets_efuse_purpose_t purpose, ets_efuse_block_t *key_block);
154 bool ets_efuse_key_block_unused(ets_efuse_block_t key_block);
372 int ets_jtag_enable_temporarily(const uint8_t *jtag_hmac_key, ets_efuse_block_t key_block);
Dhmac.h31 int ets_hmac_calculate_message(ets_efuse_block_t key_block, const void *message, size_t message_len…
46 int ets_hmac_calculate_downstream(ets_efuse_block_t key_block, ets_efuse_purpose_t purpose);
/hal_espressif-3.4.0/components/esptool_py/esptool/esptool/targets/
Desp32h2beta1.py121 def get_key_block_purpose(self, key_block): argument
122 if key_block < 0 or key_block > 5:
132 ][key_block]
Desp32c6.py149 def get_key_block_purpose(self, key_block): argument
150 if key_block < 0 or key_block > 5:
160 ][key_block]
Desp32c3.py147 def get_key_block_purpose(self, key_block): argument
148 if key_block < 0 or key_block > 5:
158 ][key_block]
Desp32s2.py208 def get_key_block_purpose(self, key_block): argument
209 if key_block < 0 or key_block > 5:
219 ][key_block]
Desp32s3.py175 def get_key_block_purpose(self, key_block): argument
176 if key_block < 0 or key_block > 5:
186 ][key_block]
/hal_espressif-3.4.0/components/wpa_supplicant/src/tls/
Dtlsv1_server.c36 u8 key_block[TLS_MAX_KEY_BLOCK_LEN]; in tlsv1_server_derive_keys() local
65 key_block, key_block_len)) { in tlsv1_server_derive_keys()
70 key_block, key_block_len); in tlsv1_server_derive_keys()
72 pos = key_block; in tlsv1_server_derive_keys()
Dtlsv1_client.c54 u8 key_block[TLS_MAX_KEY_BLOCK_LEN]; in tls_derive_keys() local
84 key_block, key_block_len)) { in tls_derive_keys()
89 key_block, key_block_len); in tls_derive_keys()
91 pos = key_block; in tls_derive_keys()
/hal_espressif-3.4.0/components/efuse/src/
Desp_efuse_api_key_esp32xx.c360 esp_efuse_block_t key_block; in esp_secure_boot_read_key_digests() local
375 if (!esp_efuse_find_purpose(s_revoke_table[i].digest_purpose, &key_block)) { in esp_secure_boot_read_key_digests()
378 …rusted_keys->key_digests[i] = (const void *)esp_efuse_utility_get_read_register_address(key_block); in esp_secure_boot_read_key_digests()
/hal_espressif-3.4.0/components/esp_hw_support/test/
Dtest_hmac.c24 static void setup_keyblock(esp_efuse_block_t key_block, esp_efuse_purpose_t purpose) { in setup_keyblock() argument
29 esp_err_t status = esp_efuse_write_key(key_block, purpose, key_data, sizeof(key_data)); in setup_keyblock()