Home
last modified time | relevance | path

Searched refs:conf_key (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dcrypto.h148 u8_t conf_key[16]);
150 int bt_mesh_prov_conf(const u8_t conf_key[16], const u8_t rand[16],
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dcrypto.c828 u8_t conf_key[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()
833 int bt_mesh_prov_conf(const u8_t conf_key[16], const u8_t rand[16], in bt_mesh_prov_conf()
838 BT_DBG("ConfirmationKey %s", bt_hex(conf_key, 16)); in bt_mesh_prov_conf()
842 return bt_mesh_aes_cmac(conf_key, sg, ARRAY_SIZE(sg), conf); in bt_mesh_prov_conf()
A Dprov.c156 u8_t conf_key[16]; /* ConfirmationKey */ member
851 if (bt_mesh_prov_conf_key(plink.dhkey, plink.conf_salt, plink.conf_key)) { in send_confirm()
857 BT_DBG("ConfirmationKey: %s", bt_hex(plink.conf_key, 16)); in send_confirm()
875 if (bt_mesh_prov_conf(plink.conf_key, plink.rand, plink.auth, net_buf_simple_add(&cfm, 16))) { in send_confirm()
1083 if (bt_mesh_prov_conf(plink.conf_key, data, plink.auth, conf_verify)) { in prov_random()
A Dprovisioner_prov.c182 u8_t conf_key[16]; /* ConfirmationKey */ member
1188 PROV_FREE_MEM(i, conf_key); in prov_memory_free()
1970 link[i].conf_key = (u8_t *)osi_calloc(PROV_CONF_KEY_SIZE); in send_confirm()
1972 if (!link[i].conf_key) { in send_confirm()
1986 if (bt_mesh_prov_conf_key(link[i].dhkey, link[i].conf_salt, link[i].conf_key)) { in send_confirm()
1991 BT_DBG("ConfirmationKey: %s", bt_hex(link[i].conf_key, 16)); in send_confirm()
2014 if (bt_mesh_prov_conf(link[i].conf_key, link[i].rand, link[i].auth, in send_confirm()
2502 if (bt_mesh_prov_conf(link[i].conf_key, data, link[i].auth, conf_verify)) { in prov_random()

Completed in 14 milliseconds