Searched refs:new_key (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/lib/posix/options/ |
D | key.c | 103 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/ |
D | app_keys.h | 26 const struct bt_mesh_key *old_key, const struct bt_mesh_key *new_key);
|
D | subnet.h | 160 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);
|
D | subnet.c | 247 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()
|
D | app_keys.c | 400 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()
|
D | beacon.c | 74 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()
|
D | net.h | 266 new_key:1, /* Data was encrypted with updated key */ member
|
D | lpn.c | 1064 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()
|
D | net.c | 421 .new_key = SUBNET_KEY_TX_IDX(buf->sub), in bt_mesh_net_local()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_beacon.c | 233 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()
|