Searched refs:conf_salt (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | crypto.h | 106 static inline int bt_mesh_prov_salt(const u8_t conf_salt[16], in bt_mesh_prov_salt() 113 { conf_salt, 16 }, in bt_mesh_prov_salt() 147 int bt_mesh_prov_conf_key(const u8_t dhkey[32], const u8_t conf_salt[16],
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | prov.c | 155 u8_t conf_salt[16]; /* ConfirmationSalt */ member 843 if (bt_mesh_prov_conf_salt(plink.conf_inputs, plink.conf_salt)) { in send_confirm() 849 BT_DBG("ConfirmationSalt: %s", bt_hex(plink.conf_salt, 16)); in send_confirm() 851 if (bt_mesh_prov_conf_key(plink.dhkey, plink.conf_salt, plink.conf_key)) { in send_confirm() 1106 if (bt_mesh_prov_salt(plink.conf_salt, data, plink.rand, plink.prov_salt)) { in prov_random()
|
A D | provisioner_prov.c | 181 u8_t conf_salt[16]; /* ConfirmationSalt */ member 1187 PROV_FREE_MEM(i, conf_salt); in prov_memory_free() 1961 link[i].conf_salt = (u8_t *)osi_calloc(PROV_CONF_SALT_SIZE); in send_confirm() 1963 if (!link[i].conf_salt) { in send_confirm() 1979 if (bt_mesh_prov_conf_salt(link[i].conf_inputs, link[i].conf_salt)) { in send_confirm() 1984 BT_DBG("ConfirmationSalt: %s", bt_hex(link[i].conf_salt, 16)); in send_confirm() 1986 if (bt_mesh_prov_conf_key(link[i].dhkey, link[i].conf_salt, link[i].conf_key)) { in send_confirm() 2536 if (bt_mesh_prov_salt(link[i].conf_salt, link[i].rand, data, in prov_random()
|
A D | crypto.c | 827 int bt_mesh_prov_conf_key(const u8_t dhkey[32], const u8_t conf_salt[16], in bt_mesh_prov_conf_key() 830 return bt_mesh_k1(dhkey, 32, conf_salt, "prck", conf_key); in bt_mesh_prov_conf_key()
|
Completed in 13 milliseconds