Home
last modified time | relevance | path

Searched refs:bt_mesh_key_import (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dkeys.h18 int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], struct bt_mesh_key *out);
26 static inline int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], in bt_mesh_key_import() function
Dmain.c129 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_DEV, dev_key, &mesh_dev_key); in bt_mesh_provision()
136 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_NET, net_key, &mesh_net_key); in bt_mesh_provision()
219 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_DEV, key, &bt_mesh.dev_key_cand); in bt_mesh_dev_key_cand()
Dcrypto.c125 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_CCM, out, enc_key); in bt_mesh_k2()
137 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_ECB, out, priv_key); in bt_mesh_k2()
239 err = bt_mesh_key_import(type, k1_out, out); in bt_mesh_id128()
270 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_CCM, raw_key, session_key); in bt_mesh_session_key()
Dcrypto_psa.c165 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_CMAC, key, &key_id); in bt_mesh_aes_cmac_raw_key()
386 int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], struct bt_mesh_key *out) in bt_mesh_key_import() function
Dcdb.c747 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_NET, key, &sub->keys[0].net_key); in bt_mesh_cdb_create()
894 return bt_mesh_key_import(BT_MESH_KEY_TYPE_NET, in, &sub->keys[key_idx].net_key); in bt_mesh_cdb_subnet_key_import()
1020 return bt_mesh_key_import(BT_MESH_KEY_TYPE_DEV, in, &node->dev_key); in bt_mesh_cdb_node_key_import()
1102 return bt_mesh_key_import(BT_MESH_KEY_TYPE_APP, in, &key->keys[key_idx].app_key); in bt_mesh_cdb_app_key_import()
Dapp_keys.c276 if (bt_mesh_key_import(BT_MESH_KEY_TYPE_APP, key, &app->keys[0].val)) { in bt_mesh_app_key_add()
337 if (bt_mesh_key_import(BT_MESH_KEY_TYPE_APP, key, &app->keys[1].val)) { in bt_mesh_app_key_update()
Dsubnet.c319 err = bt_mesh_key_import(BT_MESH_KEY_TYPE_NET, key, &keys->net); in net_keys_create()