Searched refs:conf_salt (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.h | 117 static inline int bt_mesh_prov_salt(const uint8_t conf_salt[16], in bt_mesh_prov_salt() 124 { conf_salt, 16 }, in bt_mesh_prov_salt() 158 int bt_mesh_prov_conf_key(const uint8_t dhkey[32], const uint8_t conf_salt[16],
|
D | prov.c | 127 uint8_t conf_salt[16]; /* ConfirmationSalt */ member 851 if (bt_mesh_prov_conf_salt(link.conf_inputs, link.conf_salt)) { in send_confirm() 857 BT_DBG("ConfirmationSalt: %s", bt_hex(link.conf_salt, 16)); in send_confirm() 859 if (bt_mesh_prov_conf_key(link.dhkey, link.conf_salt, link.conf_key)) { in send_confirm() 1161 if (bt_mesh_prov_salt(link.conf_salt, data, link.rand, in prov_random()
|
D | provisioner_prov.c | 148 uint8_t *conf_salt; /* ConfirmationSalt */ member 1253 PROV_FREE_MEM(idx, conf_salt); 2010 link[idx].conf_salt = (uint8_t *)bt_mesh_calloc(PROV_CONF_SALT_SIZE); 2011 if (!link[idx].conf_salt) { 2022 if (bt_mesh_prov_conf_salt(link[idx].conf_inputs, link[idx].conf_salt)) { 2027 BT_DBG("ConfirmationSalt: %s", bt_hex(link[idx].conf_salt, 16)); 2029 if (bt_mesh_prov_conf_key(link[idx].dhkey, link[idx].conf_salt, link[idx].conf_key)) { 2595 if (bt_mesh_prov_salt(link[idx].conf_salt, link[idx].rand, data,
|
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()
|