Searched refs:conf_inputs (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | prov.c | 129 uint8_t conf_inputs[145]; /* ConfirmationInputs */ member 228 if (link.conf_inputs[0]) { in reset_state() 590 link.conf_inputs[0] = data[0]; in prov_invite() 618 memcpy(&link.conf_inputs[1], &buf.data[1], 11); in prov_invite() 821 memcpy(&link.conf_inputs[12], data, 5); in prov_start() 847 BT_DBG("ConfInputs[0] %s", bt_hex(link.conf_inputs, 64)); in send_confirm() 848 BT_DBG("ConfInputs[64] %s", bt_hex(&link.conf_inputs[64], 64)); in send_confirm() 849 BT_DBG("ConfInputs[128] %s", bt_hex(&link.conf_inputs[128], 17)); in send_confirm() 851 if (bt_mesh_prov_conf_salt(link.conf_inputs, link.conf_salt)) { in send_confirm() 992 sys_memcpy_swap(buf.data, &link.conf_inputs[17], 32); in send_pub_key() [all …]
|
D | provisioner_prov.c | 150 uint8_t *conf_inputs; /* ConfirmationInputs */ member 1255 PROV_FREE_MEM(idx, conf_inputs); 1687 link[idx].conf_inputs[0] = prov->prov_attention; 1809 memcpy(&link[idx].conf_inputs[1], data, 11); 1818 memcpy(&link[idx].conf_inputs[12], &buf.data[1], 5); 2006 BT_DBG("ConfInputs[0] %s", bt_hex(link[idx].conf_inputs, 64)); 2007 BT_DBG("ConfInputs[64] %s", bt_hex(link[idx].conf_inputs + 64, 64)); 2008 BT_DBG("ConfInputs[128] %s", bt_hex(link[idx].conf_inputs + 128, 17)); 2022 if (bt_mesh_prov_conf_salt(link[idx].conf_inputs, link[idx].conf_salt)) { 2154 if (!link[idx].conf_inputs) { [all …]
|
D | crypto.h | 156 int bt_mesh_prov_conf_salt(const uint8_t conf_inputs[145], uint8_t salt[16]);
|
D | crypto.c | 813 int bt_mesh_prov_conf_salt(const uint8_t conf_inputs[145], uint8_t salt[16]) in bt_mesh_prov_conf_salt() 817 return bt_mesh_aes_cmac_one(conf_salt_key, conf_inputs, 145, salt); in bt_mesh_prov_conf_salt()
|