/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_le_oob_set_sc_data/src/ |
D | main.c | 47 const struct bt_le_oob_sc_data oobd_remote = {0}; in ZTEST() local 52 err = bt_le_oob_set_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 54 expect_single_call_bt_smp_le_oob_set_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 75 const struct bt_le_oob_sc_data oobd_remote = {0}; in ZTEST() local 80 err = bt_le_oob_set_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 82 expect_single_call_bt_smp_le_oob_set_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST()
|
D | test_suite_invalid_inputs.c | 32 const struct bt_le_oob_sc_data oobd_remote = {0}; in ZTEST() local 35 bt_le_oob_set_sc_data(NULL, &oobd_local, &oobd_remote); in ZTEST() 53 const struct bt_le_oob_sc_data oobd_remote = {0}; in ZTEST() local 57 err = bt_le_oob_set_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_le_oob_get_sc_data/src/ |
D | main.c | 47 const struct bt_le_oob_sc_data *oobd_remote = {0}; in ZTEST() local 52 err = bt_le_oob_get_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 54 expect_single_call_bt_smp_le_oob_get_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 75 const struct bt_le_oob_sc_data *oobd_remote = {0}; in ZTEST() local 80 err = bt_le_oob_get_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST() 82 expect_single_call_bt_smp_le_oob_get_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST()
|
D | test_suite_invalid_inputs.c | 32 const struct bt_le_oob_sc_data *oobd_remote = {0}; in ZTEST() local 35 bt_le_oob_get_sc_data(NULL, &oobd_local, &oobd_remote); in ZTEST() 53 const struct bt_le_oob_sc_data *oobd_remote = {0}; in ZTEST() local 57 err = bt_le_oob_get_sc_data(&conn, &oobd_local, &oobd_remote); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/mocks/ |
D | smp_expects.c | 43 const struct bt_le_oob_sc_data *oobd_remote) in expect_single_call_bt_smp_le_oob_set_sc_data() argument 54 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_set_sc_data() 60 const struct bt_le_oob_sc_data **oobd_remote) in expect_single_call_bt_smp_le_oob_get_sc_data() argument 71 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_get_sc_data()
|
D | smp_expects.h | 41 const struct bt_le_oob_sc_data *oobd_remote); 51 const struct bt_le_oob_sc_data **oobd_remote);
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | smp.h | 156 const struct bt_le_oob_sc_data *oobd_remote); 159 const struct bt_le_oob_sc_data **oobd_remote);
|
D | smp.c | 193 const struct bt_le_oob_sc_data *oobd_remote; member 3300 if (smp->oobd_remote) { in compute_and_send_central_dhcheck() 3301 memcpy(r, smp->oobd_remote->r, sizeof(r)); in compute_and_send_central_dhcheck() 3345 if (smp->oobd_remote) { in compute_and_check_and_send_periph_dhcheck() 3346 memcpy(r, smp->oobd_remote->r, sizeof(r)); in compute_and_check_and_send_periph_dhcheck() 3703 smp->oobd_remote = NULL; in smp_pairing_random() 4259 smp->oobd_remote = NULL; in smp_public_key() 5596 if (smp->oobd_remote) { in le_sc_oob_pairing_continue() 5600 err = bt_crypto_f4(smp->pkey, smp->pkey, smp->oobd_remote->r, 0, c); in le_sc_oob_pairing_continue() 5605 bool match = (memcmp(c, smp->oobd_remote->c, sizeof(c)) == 0); in le_sc_oob_pairing_continue() [all …]
|
D | id.c | 2070 const struct bt_le_oob_sc_data *oobd_remote) in bt_le_oob_set_sc_data() argument 2080 return bt_smp_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in bt_le_oob_set_sc_data() 2085 const struct bt_le_oob_sc_data **oobd_remote) in bt_le_oob_get_sc_data() argument 2095 return bt_smp_le_oob_get_sc_data(conn, oobd_local, oobd_remote); in bt_le_oob_get_sc_data()
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/ |
D | conn.h | 1272 const struct bt_le_oob_sc_data *oobd_remote); 1291 const struct bt_le_oob_sc_data **oobd_remote);
|
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/ |
D | btp_gap.c | 370 struct bt_le_oob_sc_data *oobd_remote = in oob_data_request() local 375 if (oobd_remote) { in oob_data_request() 391 err = bt_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in oob_data_request()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/shell/ |
D | bt.c | 3622 struct bt_le_oob_sc_data *oobd_remote = in auth_pairing_oob_data_request() local 3627 if (oobd_remote && in auth_pairing_oob_data_request() 3647 bt_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in auth_pairing_oob_data_request()
|