Searched refs:tSMP_CB (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_smp_act.h | 41 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 …]
|
D | mock_stack_smp_act.cc | 120 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/ |
D | smp_int.h | 275 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 …]
|
D | smp_utils.cc | 100 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 …]
|
D | smp_keys.cc | 59 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 …]
|
D | smp_act.cc | 50 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 …]
|
D | smp_api.cc | 86 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()
|
D | smp_l2c.cc | 105 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()
|
D | smp_main.cc | 949 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()
|
D | smp_br_main.cc | 306 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/ |
D | stack_smp_test.cc | 136 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_;
|