Searched refs:old_iv (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/tests/bluetooth/mesh/rpl/src/ |
D | main.c | 36 bool old_iv; member 39 { .name = "bt/mesh/RPL/1", .src = 0x1, .old_iv = false, .seq = 10, }, 40 { .name = "bt/mesh/RPL/17", .src = 0x17, .old_iv = true, .seq = 32, }, 41 { .name = "bt/mesh/RPL/7c", .src = 0x7c, .old_iv = false, .seq = 20, }, 42 { .name = "bt/mesh/RPL/2c", .src = 0x2c, .old_iv = true, .seq = 5, }, 43 { .name = "bt/mesh/RPL/5a", .src = 0x5a, .old_iv = true, .seq = 12, }, 56 .old_iv = test_vector[i].old_iv, in prepare_rpl_and_start_reset() 78 .old_iv = test_vector[i].old_iv, in prepare_rpl_and_start_reset() 103 .old_iv = !test_vector[i].old_iv, in check_entries_from_test_vector() 108 if (test_vector[i].old_iv) { in check_entries_from_test_vector() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | rpl.c | 34 old_iv:1; member 91 if (rpl->old_iv && !rx->old_iv) { in bt_mesh_rpl_update() 97 rpl->old_iv = rx->old_iv; in bt_mesh_rpl_update() 135 if (!rpl->old_iv && in bt_mesh_rpl_check() 146 if (rx->old_iv && !rpl->old_iv) { in bt_mesh_rpl_check() 150 if ((!rx->old_iv && rpl->old_iv) || in bt_mesh_rpl_check() 231 atomic_set_bit_to(store, i, !rpl->old_iv); in bt_mesh_rpl_reset() 232 rpl->old_iv = !rpl->old_iv; in bt_mesh_rpl_reset() 247 if (rpl->old_iv) { in bt_mesh_rpl_reset() 252 rpl->old_iv = true; in bt_mesh_rpl_reset() [all …]
|
D | rpl.h | 10 old_iv:1, member
|
D | net.h | 265 uint8_t old_iv:1, /* iv_index - 1 was used */ member 290 #define BT_MESH_NET_IVI_RX(rx) (bt_mesh.iv_index - (rx)->old_iv)
|
D | net.c | 418 .old_iv = (IVI(buf->data) != (bt_mesh.iv_index & 0x01)), in bt_mesh_net_local() 635 rx->old_iv = (IVI(in->data) != (bt_mesh.iv_index & 0x01)); in net_decrypt() 797 rx->old_iv = (IVI(buf->data) != (bt_mesh.iv_index & 0x01)); in bt_mesh_net_header_parse()
|
D | transport.c | 1487 (!rpl->old_iv || net_rx->old_iv)) { in trans_seg()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_replay_cache.c | 379 .old_iv = 1, in test_rx_rpl_frag() 453 .old_iv = 1, in test_rx_reboot_after_defrag()
|