/Zephyr-latest/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-latest/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-latest/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-latest/subsys/bluetooth/host/ |
D | smp.h | 157 const struct bt_le_oob_sc_data *oobd_remote); 160 const struct bt_le_oob_sc_data **oobd_remote);
|
D | smp.c | 193 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 …]
|
D | id.c | 2147 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/ |
D | conn.h | 2070 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/ |
D | btp_gap.c | 386 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/ |
D | bt.c | 4081 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()
|