Home
last modified time | relevance | path

Searched refs:tSMP_CB (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_smp_act.h41 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
42 [](tSMP_CB* /* p_cb */, tSMP_INT_DATA* /* p_data */) {}};
43 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator()
50 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
51 [](tSMP_CB* /* p_cb */, tSMP_INT_DATA* /* p_data */) {}};
52 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator()
59 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
60 [](tSMP_CB* /* p_cb */, tSMP_INT_DATA* /* p_data */) {}};
61 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator()
68 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
[all …]
Dmock_stack_smp_act.cc120 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback()
124 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail()
128 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req()
132 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp()
136 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm()
140 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_rand()
144 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_public_key()
148 void smp_send_commitment(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_commitment()
152 void smp_send_dhkey_check(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_dhkey_check()
156 void smp_send_keypress_notification(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_keypress_notification()
[all …]
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_int.h275 class tSMP_CB {
364 typedef void (*tSMP_ACT)(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
366 extern tSMP_CB smp_cb;
369 bool smp_sm_event(tSMP_CB* p_cb, tSMP_EVENT event, tSMP_INT_DATA* p_data);
375 void smp_br_state_machine_event(tSMP_CB* p_cb, tSMP_BR_EVENT event,
381 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
382 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
383 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
384 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
385 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
[all …]
Dsmp_utils.cc100 static bool smp_parameter_unconditionally_valid(tSMP_CB* p_cb);
101 static bool smp_parameter_unconditionally_invalid(tSMP_CB* p_cb);
104 typedef bool (*tSMP_CMD_LEN_VALID)(tSMP_CB* p_cb);
106 static bool smp_command_has_valid_fixed_length(tSMP_CB* p_cb);
128 typedef bool (*tSMP_CMD_PARAM_RANGES_VALID)(tSMP_CB* p_cb);
130 static bool smp_pairing_request_response_parameters_are_valid(tSMP_CB* p_cb);
131 static bool smp_pairing_keypress_notification_is_valid(tSMP_CB* p_cb);
157 typedef BT_HDR* (*tSMP_CMD_ACT)(uint8_t cmd_code, tSMP_CB* p_cb);
159 static BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
160 static BT_HDR* smp_build_confirm_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
[all …]
Dsmp_keys.cc59 static void smp_process_stk(tSMP_CB* p_cb, Octet16* p);
60 static Octet16 smp_calculate_legacy_short_term_key(tSMP_CB* p_cb);
61 static void smp_process_private_key(tSMP_CB* p_cb);
71 void smp_save_local_oob_data(tSMP_CB* p_cb) { in smp_save_local_oob_data()
102 void smp_proc_passkey(tSMP_CB* p_cb, uint64_t rand) { in smp_proc_passkey()
146 void smp_generate_passkey(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_passkey()
163 void smp_generate_stk(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_stk()
181 void smp_compute_csrk(uint16_t div, tSMP_CB* p_cb) { in smp_compute_csrk()
201 void smp_generate_csrk(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_csrk()
212 [](tSMP_CB* p_cb, uint64_t rand) { in smp_generate_csrk()
[all …]
Dsmp_act.cc50 static void smp_key_distribution_by_transport(tSMP_CB* p_cb,
62 static bool pts_test_send_authentication_complete_failure(tSMP_CB* p_cb) { in pts_test_send_authentication_complete_failure()
79 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask()
113 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback()
270 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail()
289 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_req()
304 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_rsp()
322 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_confirm()
332 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_rand()
341 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_public_key()
[all …]
Dsmp_api.cc86 tSMP_CB* p_cb = &smp_cb; in SMP_Pair()
134 tSMP_CB* p_cb = &smp_cb; in SMP_BR_PairWith()
174 tSMP_CB* p_cb = &smp_cb; in SMP_PairCancel()
285 tSMP_CB* p_cb = &smp_cb; in SMP_PasskeyReply()
329 tSMP_CB* p_cb = &smp_cb; in SMP_ConfirmReply()
369 tSMP_CB* p_cb = &smp_cb; in SMP_OobDataReply()
407 tSMP_CB* p_cb = &smp_cb; in SMP_SecureConnectionOobDataReply()
502 tSMP_CB* p_cb = &smp_cb; in SMP_SirkConfirmDeviceReply()
Dsmp_l2c.cc105 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback()
156 tSMP_CB* p_cb = &smp_cb; in smp_data_received()
235 tSMP_CB* p_cb = &smp_cb; in smp_tx_complete_callback()
273 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback()
338 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received()
Dsmp_main.cc949 tSMP_CB smp_cb;
997 bool smp_sm_event(tSMP_CB* p_cb, tSMP_EVENT event, tSMP_INT_DATA* p_data) { in smp_sm_event()
Dsmp_br_main.cc306 void smp_br_state_machine_event(tSMP_CB* p_cb, tSMP_BR_EVENT event, in smp_br_state_machine_event()
/packages/modules/Bluetooth/system/stack/test/
Dstack_smp_test.cc136 Octet16 smp_gen_p1_4_confirm(tSMP_CB* p_cb, tBLE_ADDR_TYPE remote_bd_addr_type);
138 Octet16 smp_gen_p2_4_confirm(tSMP_CB* p_cb, const RawAddress& remote_bda);
140 tSMP_STATUS smp_calculate_comfirm(tSMP_CB* p_cb, const Octet16& rand,
177 tSMP_CB p_cb_;