Searched refs:bt_mesh_aes_cmac_one (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | crypto.c | 50 err = bt_mesh_aes_cmac_one(salt, ikm, ikm_len, okm); in bt_mesh_k1() 55 return bt_mesh_aes_cmac_one(okm, info, strlen(info), okm); in bt_mesh_k1() 76 err = bt_mesh_aes_cmac_one(salt, n, 16, t); in bt_mesh_k2() 135 err = bt_mesh_aes_cmac_one(tmp, n, 16, t); in bt_mesh_k3() 140 err = bt_mesh_aes_cmac_one(t, id64, sizeof(id64), tmp); in bt_mesh_k3() 162 err = bt_mesh_aes_cmac_one(tmp, n, 16, t); in bt_mesh_k4() 167 err = bt_mesh_aes_cmac_one(t, id6, sizeof(id6), tmp); in bt_mesh_k4() 810 err = bt_mesh_aes_cmac_one(salt, virtual_label, 16, tmp); in bt_mesh_virtual_addr() 824 return bt_mesh_aes_cmac_one(conf_salt_key, conf_inputs, 145, salt); in bt_mesh_prov_conf_salt() 876 err = bt_mesh_aes_cmac_one(beacon_key, msg, sizeof(msg), tmp); in bt_mesh_beacon_auth()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | crypto.h | 17 static inline int bt_mesh_aes_cmac_one(const u8_t key[16], const void *m, in bt_mesh_aes_cmac_one() function 29 return bt_mesh_aes_cmac_one(zero, m, strlen(m), salt); in bt_mesh_s1()
|
Completed in 4 milliseconds