Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/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-latest/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-latest/subsys/bluetooth/host/
Dsmp.h157 const struct bt_le_oob_sc_data *oobd_remote);
160 const struct bt_le_oob_sc_data **oobd_remote);
Dsmp.c193 const struct bt_le_oob_sc_data *oobd_remote; member
3407 if (smp->oobd_remote) { in compute_and_send_central_dhcheck()
3408 memcpy(r, smp->oobd_remote->r, sizeof(r)); in compute_and_send_central_dhcheck()
3452 if (smp->oobd_remote) { in compute_and_check_and_send_periph_dhcheck()
3453 memcpy(r, smp->oobd_remote->r, sizeof(r)); in compute_and_check_and_send_periph_dhcheck()
3811 smp->oobd_remote = NULL; in smp_pairing_random()
4376 smp->oobd_remote = NULL; in smp_public_key()
5726 if (smp->oobd_remote) { in le_sc_oob_pairing_continue()
5730 err = bt_crypto_f4(smp->pkey, smp->pkey, smp->oobd_remote->r, 0, c); in le_sc_oob_pairing_continue()
5735 bool match = (memcmp(c, smp->oobd_remote->c, sizeof(c)) == 0); in le_sc_oob_pairing_continue()
[all …]
Did.c2147 const struct bt_le_oob_sc_data *oobd_remote) in bt_le_oob_set_sc_data() argument
2157 return bt_smp_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in bt_le_oob_set_sc_data()
2162 const struct bt_le_oob_sc_data **oobd_remote) in bt_le_oob_get_sc_data() argument
2172 return bt_smp_le_oob_get_sc_data(conn, oobd_local, oobd_remote); in bt_le_oob_get_sc_data()
/Zephyr-latest/include/zephyr/bluetooth/
Dconn.h2070 const struct bt_le_oob_sc_data *oobd_remote);
2089 const struct bt_le_oob_sc_data **oobd_remote);
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gap.c386 struct bt_le_oob_sc_data *oobd_remote = in oob_data_request() local
391 if (oobd_remote) { in oob_data_request()
407 err = bt_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in oob_data_request()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c4081 struct bt_le_oob_sc_data *oobd_remote = in auth_pairing_oob_data_request() local
4086 if (oobd_remote && in auth_pairing_oob_data_request()
4102 bt_le_oob_set_sc_data(conn, oobd_local, oobd_remote); in auth_pairing_oob_data_request()