Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dkey.c103 pthread_key_obj *new_key; in pthread_key_create() local
106 new_key = to_posix_key(key); in pthread_key_create()
107 if (new_key == NULL) { in pthread_key_create()
111 sys_slist_init(&(new_key->key_data_l)); in pthread_key_create()
113 new_key->destructor = destructor; in pthread_key_create()
114 LOG_DBG("Initialized key %p (%x)", new_key, *key); in pthread_key_create()
/Zephyr-latest/subsys/bluetooth/mesh/
Dapp_keys.h26 const struct bt_mesh_key *old_key, const struct bt_mesh_key *new_key);
Dsubnet.h160 const struct bt_mesh_key *key, const struct bt_mesh_key *new_key);
219 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key);
Dsubnet.c247 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key) in bt_mesh_kr_update() argument
249 if (!new_key) { in bt_mesh_kr_update()
769 const struct bt_mesh_key *new_key) in bt_mesh_subnet_set() argument
790 if (new_key != NULL) { in bt_mesh_subnet_set()
791 err = subnet_key_set(sub, 1, new_key); in bt_mesh_subnet_set()
903 rx->new_key = (j > 0); in bt_mesh_net_cred_find()
934 rx->new_key = (j > 0); in bt_mesh_net_cred_find()
955 rx->new_key = (j > 0); in bt_mesh_net_cred_find()
Dapp_keys.c400 const struct bt_mesh_key *old_key, const struct bt_mesh_key *new_key) in bt_mesh_app_key_set() argument
419 if (new_key != NULL && app_id_set(app, 1, new_key)) { in bt_mesh_app_key_set()
425 app->updated = !!new_key; in bt_mesh_app_key_set()
598 if (rx->new_key && app->updated) { in bt_mesh_app_key_find()
Dbeacon.c74 bool new_key; member
551 params->new_key = (i > 0); in secure_beacon_authenticate()
588 params->new_key = (i > 0); in priv_beacon_decrypt()
626 params->new_key); in net_beacon_recv()
671 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !params->new_key) { in net_beacon_resolve()
Dnet.h266 new_key:1, /* Data was encrypted with updated key */ member
Dlpn.c1064 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !rx->new_key) { in bt_mesh_lpn_friend_update()
1105 bt_mesh_kr_update(sub, BT_MESH_KEY_REFRESH(msg->flags), rx->new_key); in bt_mesh_lpn_friend_update()
Dnet.c421 .new_key = SUBNET_KEY_TX_IDX(buf->sub), in bt_mesh_net_local()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c233 const uint8_t new_key[16] = {0x01}; in tx_on_key_refresh_test() local
244 status = bt_mesh_subnet_update(BT_MESH_KEY_PRIMARY, new_key); in tx_on_key_refresh_test()
281 const uint8_t new_key[16] = {0x01}; in test_rx_on_key_refresh() local
298 status = bt_mesh_subnet_update(BT_MESH_KEY_PRIMARY, new_key); in test_rx_on_key_refresh()