Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_int.h331 } tSMP_CB; typedef
334 typedef void (*tSMP_ACT)(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
336 extern tSMP_CB smp_cb;
342 extern void smp_sm_event(tSMP_CB* p_cb, tSMP_EVENT event,
349 extern void smp_br_state_machine_event(tSMP_CB* p_cb, tSMP_BR_EVENT event,
355 extern void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
356 extern void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
357 extern void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
358 extern void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
359 extern void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data);
[all …]
Dsmp_utils.cc78 static bool smp_parameter_unconditionally_valid(tSMP_CB* p_cb);
79 static bool smp_parameter_unconditionally_invalid(tSMP_CB* p_cb);
82 typedef bool (*tSMP_CMD_LEN_VALID)(tSMP_CB* p_cb);
84 static bool smp_command_has_valid_fixed_length(tSMP_CB* p_cb);
106 typedef bool (*tSMP_CMD_PARAM_RANGES_VALID)(tSMP_CB* p_cb);
108 static bool smp_pairing_request_response_parameters_are_valid(tSMP_CB* p_cb);
109 static bool smp_pairing_keypress_notification_is_valid(tSMP_CB* p_cb);
135 typedef BT_HDR* (*tSMP_CMD_ACT)(uint8_t cmd_code, tSMP_CB* p_cb);
137 static BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
139 tSMP_CB* p_cb);
[all …]
Dsmp_keys.cc51 static void smp_process_stk(tSMP_CB* p_cb, Octet16* p);
52 static Octet16 smp_calculate_legacy_short_term_key(tSMP_CB* p_cb);
53 static void smp_process_private_key(tSMP_CB* p_cb);
111 void smp_proc_passkey(tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_proc_passkey()
157 void smp_generate_passkey(tSMP_CB* p_cb, UNUSED_ATTR tSMP_INT_DATA* p_data) { in smp_generate_passkey()
174 void smp_generate_stk(tSMP_CB* p_cb, UNUSED_ATTR tSMP_INT_DATA* p_data) { in smp_generate_stk()
192 void smp_compute_csrk(uint16_t div, tSMP_CB* p_cb) { in smp_compute_csrk()
212 void smp_generate_csrk(tSMP_CB* p_cb, UNUSED_ATTR tSMP_INT_DATA* p_data) { in smp_generate_csrk()
223 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_csrk()
236 void smp_concatenate_local(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_local()
[all …]
Dsmp_act.cc52 static bool pts_test_send_authentication_complete_failure(tSMP_CB* p_cb) { in pts_test_send_authentication_complete_failure()
69 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask()
102 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback()
232 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail()
250 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req()
265 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp()
283 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm()
292 void smp_send_init(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_init()
301 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_rand()
310 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_public_key()
[all …]
Dsmp_api.cc58 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init()
145 tSMP_CB* p_cb = &smp_cb; in SMP_Pair()
189 tSMP_CB* p_cb = &smp_cb; in SMP_BR_PairWith()
233 tSMP_CB* p_cb = &smp_cb; in SMP_PairCancel()
321 tSMP_CB* p_cb = &smp_cb; in SMP_PasskeyReply()
378 tSMP_CB* p_cb = &smp_cb; in SMP_ConfirmReply()
426 tSMP_CB* p_cb = &smp_cb; in SMP_OobDataReply()
467 tSMP_CB* p_cb = &smp_cb; in SMP_SecureConnectionOobDataReply()
Dsmp_l2c.cc90 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback()
136 tSMP_CB* p_cb = &smp_cb; in smp_data_received()
212 tSMP_CB* p_cb = &smp_cb; in smp_tx_complete_callback()
242 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback()
287 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received()
Dsmp_br_main.cc301 void smp_br_state_machine_event(tSMP_CB* p_cb, tSMP_BR_EVENT event, in smp_br_state_machine_event()
Dsmp_main.cc912 tSMP_CB smp_cb;
952 void smp_sm_event(tSMP_CB* p_cb, tSMP_EVENT event, tSMP_INT_DATA* p_data) { in smp_sm_event()
/system/bt/stack/test/
Dstack_smp_test.cc84 extern Octet16 smp_gen_p1_4_confirm(tSMP_CB* p_cb,
87 extern Octet16 smp_gen_p2_4_confirm(tSMP_CB* p_cb,
90 extern tSMP_STATUS smp_calculate_comfirm(tSMP_CB* p_cb, const Octet16& rand,
129 tSMP_CB p_cb_;