Home
last modified time | relevance | path

Searched refs:key_id (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-latest/components/esp_hw_support/
Desp_hmac.c53 esp_err_t esp_hmac_calculate(hmac_key_id_t key_id, in esp_hmac_calculate() argument
63 if (key_id >= HMAC_KEY_MAX) { in esp_hmac_calculate()
76 uint32_t conf_error = hmac_hal_configure(HMAC_OUTPUT_USER, key_id); in esp_hmac_calculate()
143 static ets_efuse_block_t convert_key_type(hmac_key_id_t key_id) { in convert_key_type() argument
144 return ETS_EFUSE_BLOCK_KEY0 + (ets_efuse_block_t) key_id; in convert_key_type()
147 esp_err_t esp_hmac_jtag_enable(hmac_key_id_t key_id, const uint8_t *token) in esp_hmac_jtag_enable() argument
152 if ((!token) || (key_id >= HMAC_KEY_MAX)) in esp_hmac_jtag_enable()
163 ets_status = ets_jtag_enable_temporarily(token, convert_key_type(key_id)); in esp_hmac_jtag_enable()
194 static ets_efuse_block_t convert_key_type(hmac_key_id_t key_id) { in convert_key_type() argument
195 return ETS_EFUSE_BLOCK_KEY0 + (ets_efuse_block_t) key_id; in convert_key_type()
[all …]
Desp_ds.c98 hmac_key_id_t key_id, in esp_ds_sign() argument
108 esp_err_t result = esp_ds_start_sign(message, data, key_id, &context); in esp_ds_sign()
122 hmac_key_id_t key_id, in esp_ds_start_sign() argument
128 if (key_id >= HMAC_KEY_MAX) { in esp_ds_start_sign()
144 int r = ets_hmac_calculate_downstream(ETS_EFUSE_BLOCK_KEY0 + (ets_efuse_block_t) key_id, in esp_ds_start_sign()
281 hmac_key_id_t key_id, in esp_ds_sign() argument
291 esp_err_t result = esp_ds_start_sign(message, data, key_id, &context); in esp_ds_sign()
305 hmac_key_id_t key_id, in esp_ds_start_sign() argument
312 if (key_id >= HMAC_KEY_MAX) { in esp_ds_start_sign()
329 uint32_t conf_error = hmac_hal_configure(HMAC_OUTPUT_DS, key_id); in esp_ds_start_sign()
/hal_espressif-latest/components/esp_hw_support/include/
Desp_hmac.h55 esp_err_t esp_hmac_calculate(hmac_key_id_t key_id,
81 esp_err_t esp_hmac_jtag_enable(hmac_key_id_t key_id, const uint8_t *token);
Desp_ds.h134 hmac_key_id_t key_id,
174 hmac_key_id_t key_id,
/hal_espressif-latest/components/hal/
Dhmac_hal.c17 uint32_t hmac_hal_configure(hmac_hal_output_t config, uint32_t key_id) in hmac_hal_configure() argument
21 hmac_ll_config_hw_key_id(key_id); in hmac_hal_configure()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dhmac_ll.h67 static inline void hmac_ll_config_hw_key_id(uint32_t key_id) in hmac_ll_config_hw_key_id() argument
69 REG_WRITE(HMAC_SET_PARA_KEY_REG, key_id); in hmac_ll_config_hw_key_id()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dhmac_ll.h70 static inline void hmac_ll_config_hw_key_id(uint32_t key_id) in hmac_ll_config_hw_key_id() argument
72 REG_WRITE(HMAC_SET_PARA_KEY_REG, key_id); in hmac_ll_config_hw_key_id()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dhmac_ll.h78 static inline void hmac_ll_config_hw_key_id(uint32_t key_id) in hmac_ll_config_hw_key_id() argument
80 REG_WRITE(HMAC_SET_PARA_KEY_REG, key_id); in hmac_ll_config_hw_key_id()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dhmac_ll.h70 static inline void hmac_ll_config_hw_key_id(uint32_t key_id) in hmac_ll_config_hw_key_id() argument
72 REG_WRITE(HMAC_SET_PARA_KEY_REG, key_id); in hmac_ll_config_hw_key_id()
/hal_espressif-latest/components/hal/include/hal/
Dhmac_hal.h53 uint32_t hmac_hal_configure(hmac_hal_output_t config, uint32_t key_id);
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dwpa_common.h169 u8 key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
184 u8 key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h379 extern void smp_h6_calc_chk (UINT8 *key, UINT8 *key_id, UINT8 *mac);
382 UINT8 *key_id, UINT8 *n1,
524 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1,
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1552 UINT8 key_id[4] = {0x65, 0x6c, 0x74, 0x62}; in smp_calculate_f5() local
1581 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_mac_key, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1591 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_ltk, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1637 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, in smp_calculate_f5_mackey_or_long_term_key() argument
1658 p_prnt = key_id; in smp_calculate_f5_mackey_or_long_term_key()
1684 ARRAY_TO_STREAM(p, key_id, 4); in smp_calculate_f5_mackey_or_long_term_key()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dtls.h209 const char *key_id; member
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa.c1841 wpa_hexdump(MSG_DEBUG, " key_id (reserved)", key->key_id, 8); in wpa_eapol_key_dump()