Searched refs:conf_key (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.h | 159 uint8_t conf_key[16]); 161 int bt_mesh_prov_conf(const uint8_t conf_key[16], const uint8_t rand[16],
|
D | crypto.c | 821 uint8_t conf_key[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() 826 int bt_mesh_prov_conf(const uint8_t conf_key[16], const uint8_t rand[16], in bt_mesh_prov_conf() 831 BT_DBG("ConfirmationKey %s", bt_hex(conf_key, 16)); in bt_mesh_prov_conf() 835 return bt_mesh_aes_cmac(conf_key, sg, ARRAY_SIZE(sg), conf); in bt_mesh_prov_conf()
|
D | prov.c | 128 uint8_t conf_key[16]; /* ConfirmationKey */ member 859 if (bt_mesh_prov_conf_key(link.dhkey, link.conf_salt, link.conf_key)) { in send_confirm() 865 BT_DBG("ConfirmationKey: %s", bt_hex(link.conf_key, 16)); in send_confirm() 879 if (bt_mesh_prov_conf(link.conf_key, link.rand, link.auth, in send_confirm() 1139 if (bt_mesh_prov_conf(link.conf_key, data, link.auth, conf_verify)) { in prov_random()
|
D | provisioner_prov.c | 149 uint8_t *conf_key; /* ConfirmationKey */ member 1254 PROV_FREE_MEM(idx, conf_key); 2016 link[idx].conf_key = (uint8_t *)bt_mesh_calloc(PROV_CONF_KEY_SIZE); 2017 if (!link[idx].conf_key) { 2029 if (bt_mesh_prov_conf_key(link[idx].dhkey, link[idx].conf_salt, link[idx].conf_key)) { 2034 BT_DBG("ConfirmationKey: %s", bt_hex(link[idx].conf_key, 16)); 2053 if (bt_mesh_prov_conf(link[idx].conf_key, link[idx].rand, 2565 if (bt_mesh_prov_conf(link[idx].conf_key, data, link[idx].auth, conf_verify)) {
|