Searched refs:raw_key (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | keys.h | 22 int bt_mesh_key_compare(const uint8_t raw_key[16], const struct bt_mesh_key *mesh_key); 49 static inline int bt_mesh_key_compare(const uint8_t raw_key[16], const struct bt_mesh_key *mesh_key) in bt_mesh_key_compare() 51 return memcmp(mesh_key, raw_key, 16); in bt_mesh_key_compare()
|
D | subnet.c | 488 uint8_t raw_key[16]; in bt_mesh_friend_cred_create() local 497 err = bt_mesh_key_export(raw_key, key); in bt_mesh_friend_cred_create() 502 return msg_cred_create(cred, p, sizeof(p), raw_key); in bt_mesh_friend_cred_create() 751 uint8_t raw_key[16]; in subnet_key_set() local 754 err = bt_mesh_key_export(raw_key, key); in subnet_key_set() 760 err = net_keys_create(&sub->keys[key_idx], false, raw_key); in subnet_key_set()
|
D | crypto.c | 263 uint8_t raw_key[16]; in bt_mesh_session_key() local 266 err = bt_mesh_k1(dhkey, 32, prov_salt, "prsk", raw_key); in bt_mesh_session_key() 269 LOG_DBG("SessionKey: %s", bt_hex(raw_key, 16)); in bt_mesh_session_key() 270 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_CCM, raw_key, session_key); in bt_mesh_session_key()
|
D | app_keys.c | 381 uint8_t raw_key[16]; in app_id_set() local 384 err = bt_mesh_key_export(raw_key, key); in app_id_set() 389 err = bt_mesh_app_id(raw_key, &app->keys[key_idx].id); in app_id_set()
|
D | crypto_psa.c | 503 int bt_mesh_key_compare(const uint8_t raw_key[16], const struct bt_mesh_key *key) in bt_mesh_key_compare() 513 return memcmp(out, raw_key, 16); in bt_mesh_key_compare()
|