Home
last modified time | relevance | path

Searched refs:oobd_remote (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_le_oob_set_sc_data/src/
Dmain.c47 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()
Dtest_suite_invalid_inputs.c32 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/
Dmain.c47 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()
Dtest_suite_invalid_inputs.c32 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/
Dsmp_expects.c43 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()
Dsmp_expects.h41 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/
Dsmp.h156 const struct bt_le_oob_sc_data *oobd_remote);
159 const struct bt_le_oob_sc_data **oobd_remote);
Dsmp.c193 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 …]
Did.c2070 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/
Dconn.h1272 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/
Dbtp_gap.c370 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/
Dbt.c3622 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()