Home
last modified time | relevance | path

Searched refs:mesh_network_key_t (Results 1 – 21 of 21) sorted by relevance

/btstack/src/mesh/
H A Dmesh_keys.c67 void mesh_network_key_add(mesh_network_key_t * network_key){ in mesh_network_key_add()
72 bool mesh_network_key_remove(mesh_network_key_t * network_key){ in mesh_network_key_remove()
77 mesh_network_key_t * mesh_network_key_list_get(uint16_t netkey_index){ in mesh_network_key_list_get()
81 mesh_network_key_t * item = (mesh_network_key_t *) btstack_linked_list_iterator_next(&it); in mesh_network_key_list_get()
100 mesh_network_key_t * mesh_network_key_iterator_get_next(mesh_network_key_iterator_t *it){ in mesh_network_key_iterator_get_next()
101 return (mesh_network_key_t *) btstack_linked_list_iterator_next(&it->it); in mesh_network_key_iterator_get_next()
116 it->key = (mesh_network_key_t *) btstack_linked_list_iterator_next(&it->it); in mesh_network_key_nid_iterator_has_more()
121 mesh_network_key_t * mesh_network_key_nid_iterator_get_next(mesh_network_key_iterator_t *it){ in mesh_network_key_nid_iterator_get_next()
122 mesh_network_key_t * key = it->key; in mesh_network_key_nid_iterator_get_next()
H A Dmesh_keys.h83 } mesh_network_key_t; typedef
87 mesh_network_key_t * key;
148 void mesh_network_key_add(mesh_network_key_t * network_key);
156 bool mesh_network_key_remove(mesh_network_key_t * network_key);
163 mesh_network_key_t * mesh_network_key_list_get(uint16_t netkey_index);
189 mesh_network_key_t * mesh_network_key_iterator_get_next(mesh_network_key_iterator_t *it);
210 mesh_network_key_t * mesh_network_key_nid_iterator_get_next(mesh_network_key_iterator_t *it);
H A Dmesh.h83 void mesh_store_network_key(mesh_network_key_t * network_key);
110 void mesh_access_netkey_finalize(mesh_network_key_t * network_key);
H A Dmesh_network.h242 mesh_network_key_t * old_key;
245 mesh_network_key_t * new_key;
441 mesh_network_key_t * mesh_subnet_get_outgoing_network_key(mesh_subnet_t * subnet);
H A Dprovisioning.h144 mesh_network_key_t * network_key;
H A Dmesh_crypto.h96 void mesh_network_key_derive(btstack_crypto_aes128_cmac_t * request, mesh_network_key_t * network_k…
H A Dmesh_crypto.c216 static mesh_network_key_t * mesh_network_key_derive_key;
262 void mesh_network_key_derive(btstack_crypto_aes128_cmac_t * request, mesh_network_key_t * network_k… in mesh_network_key_derive()
H A Dmesh_network.c94 static const mesh_network_key_t * current_network_key;
1319 mesh_network_key_t * mesh_subnet_get_outgoing_network_key(mesh_subnet_t * subnet){ in mesh_subnet_get_outgoing_network_key()
1338 mesh_network_key_t * old_key = NULL; in mesh_subnet_setup_for_netkey_index()
1339 mesh_network_key_t * new_key = NULL; in mesh_subnet_setup_for_netkey_index()
1343 mesh_network_key_t * network_key = mesh_network_key_iterator_get_next(&it); in mesh_subnet_setup_for_netkey_index()
H A Dbeacon.c159 mesh_network_key_t * network_key = mesh_subnet_get_outgoing_network_key(mesh_subnet); in mesh_secure_network_beacon_setup()
302 mesh_network_key_t * network_key = NULL; in beacon_handle_secure_beacon()
H A Dmesh_configuration_server.c576 mesh_network_key_t * network_key = mesh_network_key_iterator_get_next(&it); in config_netkey_list()
627 mesh_network_key_t * new_network_key = btstack_memory_mesh_network_key_get(); in config_netkey_add_handler()
717 mesh_network_key_t * new_network_key = btstack_memory_mesh_network_key_get(); in config_netkey_update_handler()
812 mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index_of_list); in config_appkey_list()
870 mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in config_appkey_add_handler()
940 mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in config_appkey_update_handler()
1007 mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in config_appkey_delete_handler()
1852mesh_network_key_t * network_key = mesh_network_key_list_get(requested_publication.netkey_index); in config_heartbeat_publication_set_handler()
H A Dmesh.c602 void mesh_store_network_key(mesh_network_key_t * network_key){ in mesh_store_network_key()
634 mesh_network_key_t * network_key = btstack_memory_mesh_network_key_get(); in mesh_load_network_keys()
824 void mesh_access_netkey_finalize(mesh_network_key_t * network_key){ in mesh_access_netkey_finalize()
H A Dmesh_proxy.c306 mesh_network_key_t * network_key = mesh_subnet_get_outgoing_network_key(subnet); in mesh_proxy_start_advertising_with_network_id()
H A Dmesh_upper_transport.c1184 const mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in mesh_upper_transport_setup_unsegmented_control_pdu()
1201 const mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in mesh_upper_transport_setup_segmented_control_pdu_header()
1226 const mesh_network_key_t *network_key = mesh_network_key_list_get(netkey_index); in mesh_upper_transport_setup_upper_access_pdu_header()
H A Dprovisioning_device.c125 static mesh_network_key_t * network_key;
H A Dmesh_lower_transport.c168 const mesh_network_key_t * network_key = mesh_network_key_list_get(netkey_index); in mesh_lower_transport_incoming_send_ack()
/btstack/src/
H A Dbtstack_memory.h180 mesh_network_key_t * btstack_memory_mesh_network_key_get(void);
181 void btstack_memory_mesh_network_key_free(mesh_network_key_t *mesh_network_key);
H A Dbtstack_memory.c1745 static mesh_network_key_t mesh_network_key_storage[MAX_NR_MESH_NETWORK_KEYS];
1747 mesh_network_key_t * btstack_memory_mesh_network_key_get(void){ in btstack_memory_mesh_network_key_get()
1750 memset(buffer, 0, sizeof(mesh_network_key_t)); in btstack_memory_mesh_network_key_get()
1752 return (mesh_network_key_t *) buffer; in btstack_memory_mesh_network_key_get()
1754 void btstack_memory_mesh_network_key_free(mesh_network_key_t *mesh_network_key){ in btstack_memory_mesh_network_key_free()
1758 mesh_network_key_t * btstack_memory_mesh_network_key_get(void){ in btstack_memory_mesh_network_key_get()
1761 void btstack_memory_mesh_network_key_free(mesh_network_key_t *mesh_network_key){ in btstack_memory_mesh_network_key_free()
1769 mesh_network_key_t data;
1772 mesh_network_key_t * btstack_memory_mesh_network_key_get(void){ in btstack_memory_mesh_network_key_get()
1782 void btstack_memory_mesh_network_key_free(mesh_network_key_t *mesh_network_key){ in btstack_memory_mesh_network_key_free()
[all …]
/btstack/test/mesh/
H A Dprovisioning_device_test.cpp128 static mesh_network_key_t network_key;
129 extern "C" mesh_network_key_t * btstack_memory_mesh_network_key_get(void){ in btstack_memory_mesh_network_key_get()
H A Dmesh_pts.c102 mesh_network_key_t * key = data->network_key; in mesh_provisioning_dump()
271 mesh_network_key_t * network_key = mesh_network_key_list_get(0); in mesh_pts_dump_mesh_options()
H A Dmesh_message_test.cpp200 mesh_network_key_t * network_key = btstack_memory_mesh_network_key_get(); in load_network_key_nid_68()
209 mesh_network_key_t * network_key = btstack_memory_mesh_network_key_get(); in load_network_key_nid_5e()
218 mesh_network_key_t * network_key = btstack_memory_mesh_network_key_get(); in load_network_key_nid_10()
/btstack/test/btstack_memory/
H A Dbtstack_memory_test.cpp1284 mesh_network_key_t * context; in TEST()
1305 mesh_network_key_t * context; in TEST()