/Zephyr-latest/subsys/bluetooth/common/ |
D | rpa.c | 101 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create() argument 105 err = internal_rand(rpa->val + 3, 3); in bt_rpa_create() 110 BT_ADDR_SET_RPA(rpa); in bt_rpa_create() 112 err = ah(irk, rpa->val + 3, rpa->val); in bt_rpa_create() 117 LOG_DBG("Created RPA %s", bt_addr_str((bt_addr_t *)rpa->val)); in bt_rpa_create() 122 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create() argument
|
D | rpa.h | 16 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa);
|
D | CMakeLists.txt | 9 zephyr_library_sources_ifdef(CONFIG_BT_RPA rpa.c)
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/ |
D | main.c | 28 bt_addr_copy(&bt_dev.rpa[BT_ID_DEFAULT], BT_ADDR_NONE); in fff_reset_rule_before() 52 static int bt_rpa_create_custom_fake(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create_custom_fake() argument 55 __ASSERT_NO_MSG(rpa != NULL); in bt_rpa_create_custom_fake() 58 bt_addr_copy(rpa, &BT_RPA_LE_ADDR->a); in bt_rpa_create_custom_fake()
|
D | test_suite_invalid_cases.c | 124 static int bt_rpa_create_custom_fake(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create_custom_fake() argument 127 __ASSERT_NO_MSG(rpa != NULL); in bt_rpa_create_custom_fake() 130 bt_addr_copy(rpa, &BT_RPA_LE_ADDR->a); in bt_rpa_create_custom_fake()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_private_addr/src/ |
D | main.c | 49 static int bt_rpa_create_custom_fake(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create_custom_fake() argument 52 __ASSERT_NO_MSG(rpa != NULL); in bt_rpa_create_custom_fake() 55 bt_addr_copy(rpa, &BT_RPA_LE_ADDR->a); in bt_rpa_create_custom_fake()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | lll_filter.h | 87 bt_addr_t rpa; member 93 bt_addr_t rpa; member 123 extern uint8_t ull_filter_deferred_resolve(bt_addr_t *rpa, 125 extern uint8_t ull_filter_deferred_targeta_resolve(bt_addr_t *rpa,
|
D | ull_filter.c | 83 bt_addr_t rpa; member 89 bt_addr_t rpa; member 163 static uint8_t prpa_cache_try_resolve(bt_addr_t *rpa); 766 bt_addr_t rpa; in ull_filter_rpa_update() local 768 err = bt_rpa_create(rl[i].local_irk, &rpa); in ull_filter_rpa_update() 774 rl[i].local_rpa = &rpa; in ull_filter_rpa_update() 775 bt_addr_copy(&local_rpas[i], &rpa); in ull_filter_rpa_update() 1002 uint8_t ull_filter_deferred_resolve(bt_addr_t *rpa, resolve_callback_t cb) in ull_filter_deferred_resolve() argument 1007 (void)memcpy(resolve_work.rpa.val, rpa->val, in ull_filter_deferred_resolve() 1020 uint8_t ull_filter_deferred_targeta_resolve(bt_addr_t *rpa, uint8_t rl_idx, in ull_filter_deferred_targeta_resolve() argument [all …]
|
D | ull_adv.c | 3063 const uint8_t *rpa = ull_filter_adva_get(adv->lll.rl_idx); local 3065 const uint8_t *rpa = NULL; 3071 if (!rpa || IS_ENABLED(CONFIG_BT_CTLR_CHECK_SAME_PEER_CONN)) { 3086 if (rpa) { 3088 tx_addr = rpa;
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/ |
D | test_undirected_central.c | 253 static void identity_resolved(struct bt_conn *conn, const bt_addr_le_t *rpa, in identity_resolved() argument 260 bt_addr_le_to_str(rpa, addr_rpa, sizeof(addr_rpa)); in identity_resolved() 264 bt_addr_le_copy(&peer_rpa, rpa); in identity_resolved()
|
D | test_undirected_peripheral.c | 349 static void identity_resolved(struct bt_conn *conn, const bt_addr_le_t *rpa, in identity_resolved() argument 356 bt_addr_le_to_str(rpa, addr_rpa, sizeof(addr_rpa)); in identity_resolved()
|
/Zephyr-latest/samples/bluetooth/peripheral_sc_only/src/ |
D | main.c | 59 static void identity_resolved(struct bt_conn *conn, const bt_addr_le_t *rpa, in identity_resolved() argument 66 bt_addr_le_to_str(rpa, addr_rpa, sizeof(addr_rpa)); in identity_resolved()
|
/Zephyr-latest/tests/bluetooth/host/keys/mocks/ |
D | CMakeLists.txt | 8 rpa.c
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | id.c | 266 bt_addr_copy(&bt_dev.rpa[adv->id], BT_ADDR_NONE); in adv_rpa_clear_data() 343 bt_addr_t rpa; in bt_id_set_private_addr() local 355 err = bt_rpa_create(bt_dev.irk[id], &rpa); in bt_id_set_private_addr() 357 err = set_random_address(&rpa); in bt_id_set_private_addr() 370 LOG_INF("RPA: %s", bt_addr_str(&rpa)); in bt_id_set_private_addr() 377 static int adv_rpa_get(struct bt_le_ext_adv *adv, bt_addr_t *rpa) in adv_rpa_get() argument 381 if (bt_addr_eq(&bt_dev.rpa[adv->id], BT_ADDR_NONE)) { in adv_rpa_get() 382 err = bt_rpa_create(bt_dev.irk[adv->id], &bt_dev.rpa[adv->id]); in adv_rpa_get() 388 bt_addr_copy(rpa, &bt_dev.rpa[adv->id]); in adv_rpa_get() 393 static int adv_rpa_get(struct bt_le_ext_adv *adv, bt_addr_t *rpa) in adv_rpa_get() argument [all …]
|
D | keys.c | 256 bt_addr_eq(&addr->a, &key_pool[i].irk.rpa)) { in bt_keys_find_irk() 257 LOG_DBG("cached RPA %s for %s", bt_addr_str(&key_pool[i].irk.rpa), in bt_keys_find_irk() 273 LOG_DBG("RPA %s matches %s", bt_addr_str(&key_pool[i].irk.rpa), in bt_keys_find_irk() 276 bt_addr_copy(&key_pool[i].irk.rpa, &addr->a); in bt_keys_find_irk()
|
D | keys.h | 52 bt_addr_t rpa; member
|
D | hci_core.h | 414 bt_addr_t rpa[CONFIG_BT_ID_MAX]; member
|
D | conn.c | 2511 const bt_addr_le_t *rpa; in bt_conn_identity_resolved() local 2514 rpa = &conn->le.resp_addr; in bt_conn_identity_resolved() 2516 rpa = &conn->le.init_addr; in bt_conn_identity_resolved() 2524 callback->identity_resolved(conn, rpa, &conn->le.dst); in bt_conn_identity_resolved() 2530 cb->identity_resolved(conn, rpa, &conn->le.dst); in bt_conn_identity_resolved()
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/ |
D | main.c | 220 zassert_mem_equal(&returned_ref->irk.rpa, &addr->a, sizeof(bt_addr_t), in ZTEST() 256 bt_addr_copy(&returned_keys_refs[it]->irk.rpa, &addr->a); in no_resolving_ts_setup() 321 zassert_mem_equal(&returned_ref->irk.rpa, &addr->a, sizeof(bt_addr_t), in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/id/mocks/ |
D | CMakeLists.txt | 22 rpa.c
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/ |
D | central_ead.c | 357 static void identity_resolved(struct bt_conn *conn, const bt_addr_le_t *rpa, in identity_resolved() argument 364 bt_addr_le_to_str(rpa, addr_rpa, sizeof(addr_rpa)); in identity_resolved()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/ |
D | radio.c | 206 bt_addr_t *rpa = (bt_addr_t *)&pdu_adv->payload[0]; in ar_execute() local 209 if (pdu_adv->tx_addr && BT_ADDR_IS_RPA(rpa)) { in ar_execute() 214 hash = (uint32_t *)(&rpa->val[0]); in ar_execute() 215 prand = (uint32_t *)(&rpa->val[3]); in ar_execute()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/ |
D | main.c | 473 static void identity_resolved(struct bt_conn *conn, const bt_addr_le_t *rpa, in identity_resolved() argument 481 bt_addr_le_to_str(rpa, addr_rpa, sizeof(addr_rpa)); in identity_resolved()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 170 low duty cycle mode, and the :code:`dir-rpa` parameter is required if the remote device is 175 uart:~$ bt adv-create conn-scan directed D7:54:03:CE:F3:B4 random low dir-rpa
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | conn.h | 1728 const bt_addr_le_t *rpa,
|