Home
last modified time | relevance | path

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

/btstack/test/mesh/
H A Dmesh_pts.c104 printf("DevKey: "); printf_hexdump(data->device_key, 16); in mesh_provisioning_dump()
283 mesh_transport_key_t * device_key = mesh_transport_key_get(MESH_DEVICE_KEY_INDEX); in mesh_pts_dump_mesh_options() local
284 if (device_key){ in mesh_pts_dump_mesh_options()
286 printf_hex(device_key->key, 16); in mesh_pts_dump_mesh_options()
H A Dmesh_message_test.cpp231 uint8_t device_key[16]; in load_provisioning_data_test_message() local
232 btstack_parse_hex("9d6dd0e96eb25dc19a40ed9914f8f03f", 16, device_key); in load_provisioning_data_test_message()
233 mesh_transport_set_device_key(device_key); in load_provisioning_data_test_message()
/btstack/src/mesh/
H A Dmesh_keys.c136 void mesh_transport_set_device_key(const uint8_t * device_key){ in mesh_transport_set_device_key() argument
141 (void)memcpy(mesh_transport_device_key.key, device_key, 16); in mesh_transport_set_device_key()
H A Dmesh.c202 mesh_transport_set_device_key(provisioning_data->device_key); in mesh_setup_from_provisioning_data()
1015 uint8_t device_key[16]; member
1026 (void)memcpy(persistent_provisioning_data.device_key, in mesh_node_store_provisioning_data()
1027 provisioning_data->device_key, 16); in mesh_node_store_provisioning_data()
1096 (void)memcpy(provisioning_data.device_key, in mesh_node_startup_from_tlv()
1097 persistent_provisioning_data.device_key, 16); in mesh_node_startup_from_tlv()
1155 mesh_log_key("mesh-devkey", 0xffff, persistent_provisioning_data.device_key); in mesh_node_startup_from_tlv()
H A Dprovisioning_device.c128 static uint8_t device_key[16]; variable
738 …, dhkey, sizeof(dhkey), provisioning_salt, (const uint8_t*) "prdk", 4, device_key, &provisioning_h… in provisioning_handle_data_ccm()
924 (void)memcpy(the_provisioning_data->device_key, device_key, 16); in provisioning_device_data_get()
H A Dprovisioning.h132 uint8_t device_key[16]; member
H A Dmesh_keys.h220 void mesh_transport_set_device_key(const uint8_t * device_key);