/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.h | 88 static inline int bt_mesh_session_key(const uint8_t dhkey[32], in bt_mesh_session_key() 92 return bt_mesh_k1(dhkey, 32, prov_salt, "prsk", session_key); in bt_mesh_session_key() 95 static inline int bt_mesh_prov_nonce(const uint8_t dhkey[32], in bt_mesh_prov_nonce() 102 err = bt_mesh_k1(dhkey, 32, prov_salt, "prsn", tmp); in bt_mesh_prov_nonce() 110 static inline int bt_mesh_dev_key(const uint8_t dhkey[32], in bt_mesh_dev_key() 114 return bt_mesh_k1(dhkey, 32, prov_salt, "prdk", dev_key); in bt_mesh_dev_key() 158 int bt_mesh_prov_conf_key(const uint8_t dhkey[32], const uint8_t conf_salt[16],
|
D | prov.c | 114 uint8_t dhkey[32]; /* Calculated DHKey */ member 859 if (bt_mesh_prov_conf_key(link.dhkey, link.conf_salt, link.conf_key)) { in send_confirm() 966 sys_memcpy_swap(link.dhkey, key, 32); in prov_dh_key_cb() 968 BT_DBG("DHkey: %s", bt_hex(link.dhkey, 32)); in prov_dh_key_cb() 1198 err = bt_mesh_session_key(link.dhkey, link.prov_salt, session_key); in prov_data() 1207 err = bt_mesh_prov_nonce(link.dhkey, link.prov_salt, nonce); in prov_data() 1223 err = bt_mesh_dev_key(link.dhkey, link.prov_salt, dev_key); in prov_data()
|
D | provisioner_prov.c | 145 uint8_t *dhkey; /* Calculated DHKey */ member 1248 PROV_FREE_MEM(idx, dhkey); 2029 if (bt_mesh_prov_conf_key(link[idx].dhkey, link[idx].conf_salt, link[idx].conf_key)) { 2181 link[idx].dhkey = (uint8_t *)bt_mesh_calloc(PROV_DH_KEY_SIZE); 2182 if (!link[idx].dhkey) { 2186 sys_memcpy_swap(link[idx].dhkey, key, 32); 2188 BT_DBG("DHkey: %s", bt_hex(link[idx].dhkey, 32)); 2391 err = bt_mesh_session_key(link[idx].dhkey, link[idx].prov_salt, session_key); 2398 err = bt_mesh_prov_nonce(link[idx].dhkey, link[idx].prov_salt, nonce); 2624 err = bt_mesh_dev_key(link[idx].dhkey, link[idx].prov_salt, device_key);
|
D | crypto.c | 820 int bt_mesh_prov_conf_key(const uint8_t dhkey[32], const uint8_t conf_salt[16], in bt_mesh_prov_conf_key() 823 return bt_mesh_k1(dhkey, 32, conf_salt, "prck", conf_key); in bt_mesh_prov_conf_key()
|
/hal_espressif-latest/components/wpa_supplicant/src/wps/ |
D | wps_common.c | 65 u8 dhkey[SHA256_MAC_LEN], kdk[SHA256_MAC_LEN]; in wps_derive_keys() local 107 sha256_vector(1, addr, len, dhkey); in wps_derive_keys() 108 wpa_hexdump_key(MSG_DEBUG, "WPS: DHKey", dhkey, sizeof(dhkey)); in wps_derive_keys() 118 hmac_sha256_vector(dhkey, sizeof(dhkey), 3, addr, len, kdk); in wps_derive_keys()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 1175 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey() 1177 smp_debug_print_nbyte_little_endian (p_cb->dhkey, (const UINT8 *)"Old DHKey", in smp_compute_dhkey() 1186 smp_debug_print_nbyte_little_endian (p_cb->dhkey, (const UINT8 *)"Reverted DHKey", in smp_compute_dhkey()
|
D | smp_utils.c | 1595 if (!smp_calculate_f5(p_cb->dhkey, p_na, p_nb, a, b, p_cb->mac_key, p_cb->ltk)) { in smp_calculate_f5_mackey_and_long_term_key()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/ |
D | mesh_bearer_adapt.c | 1886 uint8_t dhkey[32]; in bt_mesh_dh_key_gen() local 1890 …_sm_alg_gen_dhkey((uint8_t *)&remote_pk[0], (uint8_t *)&remote_pk[32], bt_mesh_private_key, dhkey); in bt_mesh_dh_key_gen() 1893 cb((const uint8_t *)dhkey, idx); in bt_mesh_dh_key_gen()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/ |
D | smp_int.h | 287 BT_OCTET32 dhkey; member
|
/hal_espressif-latest/components/bt/controller/esp32c2/ |
D | bt.c | 106 …*remote_pub_key_x, const uint8_t *remote_pub_key_y, const uint8_t *local_priv_key, uint8_t *dhkey);
|
/hal_espressif-latest/components/bt/controller/esp32c6/ |
D | bt.c | 97 const uint8_t *local_priv_key, uint8_t *dhkey);
|
/hal_espressif-latest/components/bt/controller/esp32h2/ |
D | bt.c | 92 const uint8_t *local_priv_key, uint8_t *dhkey);
|