Searched refs:tSMP_CB (Results 1 – 8 of 8) sorted by relevance
/system/bt/stack/smp/ |
D | smp_int.h | 343 } tSMP_CB; typedef 346 typedef void (*tSMP_ACT)(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 355 extern tSMP_CB smp_cb; 357 extern tSMP_CB *smp_cb_ptr; 369 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 371 extern void smp_proc_sec_request(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 392 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 397 extern void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data); 403 extern void smp_send_pair_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 404 extern void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); [all …]
|
D | smp_utils.c | 80 static BOOLEAN smp_parameter_unconditionally_valid(tSMP_CB *p_cb); 81 static BOOLEAN smp_parameter_unconditionally_invalid(tSMP_CB *p_cb); 84 typedef BOOLEAN (*tSMP_CMD_LEN_VALID)(tSMP_CB *p_cb); 86 static BOOLEAN smp_command_has_valid_fixed_length(tSMP_CB *p_cb); 109 typedef BOOLEAN (*tSMP_CMD_PARAM_RANGES_VALID)(tSMP_CB *p_cb); 111 static BOOLEAN smp_pairing_request_response_parameters_are_valid(tSMP_CB *p_cb); 112 static BOOLEAN smp_pairing_keypress_notification_is_valid(tSMP_CB *p_cb); 135 typedef BT_HDR * (*tSMP_CMD_ACT)(UINT8 cmd_code, tSMP_CB *p_cb); 137 static BT_HDR *smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 138 static BT_HDR *smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb); [all …]
|
D | smp_act.c | 66 static bool pts_test_send_authentication_complete_failure(tSMP_CB *p_cb) in pts_test_send_authentication_complete_failure() 106 static void smp_update_key_mask (tSMP_CB *p_cb, UINT8 key_type, BOOLEAN recv) in smp_update_key_mask() 144 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() 288 void smp_send_pair_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_pair_req() 305 void smp_send_pair_rsp(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_pair_rsp() 325 void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_confirm() 335 void smp_send_init(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_init() 345 void smp_send_rand(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_rand() 355 void smp_send_pair_public_key(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_pair_public_key() [all …]
|
D | smp_keys.c | 46 static void smp_generate_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 47 static void smp_generate_ltk_cont(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 48 static void smp_generate_y(tSMP_CB *p_cb, tSMP_INT_DATA *p); 49 static void smp_generate_rand_vector (tSMP_CB *p_cb, tSMP_INT_DATA *p); 50 static void smp_process_stk(tSMP_CB *p_cb, tSMP_ENC *p); 51 static void smp_calculate_comfirm_cont(tSMP_CB *p_cb, tSMP_ENC *p); 52 static void smp_process_confirm(tSMP_CB *p_cb, tSMP_ENC *p); 53 static void smp_process_compare(tSMP_CB *p_cb, tSMP_ENC *p); 54 static void smp_process_ediv(tSMP_CB *p_cb, tSMP_ENC *p); 55 static BOOLEAN smp_calculate_legacy_short_term_key(tSMP_CB *p_cb, tSMP_ENC *output); [all …]
|
D | smp_api.c | 53 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init() 140 tSMP_CB *p_cb = &smp_cb; in SMP_Pair() 182 tSMP_CB *p_cb = &smp_cb; in SMP_BR_PairWith() 225 tSMP_CB *p_cb = &smp_cb; in SMP_PairCancel() 305 tSMP_CB *p_cb = & smp_cb; in SMP_PasskeyReply() 363 tSMP_CB *p_cb = & smp_cb; in SMP_ConfirmReply() 413 tSMP_CB *p_cb = & smp_cb; in SMP_OobDataReply() 453 tSMP_CB *p_cb = &smp_cb; in SMP_SecureConnectionOobDataReply() 542 tSMP_CB *p_cb = &smp_cb; in SMP_KeypressNotification() 590 tSMP_CB *p_cb = &smp_cb; in SMP_CreateLocalSecureConnectionsOobData()
|
D | smp_l2c.c | 94 tSMP_CB *p_cb = &smp_cb; in smp_connect_callback() 148 tSMP_CB *p_cb = &smp_cb; in smp_data_received() 217 tSMP_CB *p_cb = &smp_cb; in smp_tx_complete_callback() 246 tSMP_CB *p_cb = &smp_cb; in smp_br_connect_callback() 299 tSMP_CB *p_cb = &smp_cb; in smp_br_data_received()
|
D | smp_br_main.c | 333 void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data) in smp_br_state_machine_event()
|
D | smp_main.c | 721 tSMP_CB smp_cb; 768 void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data) in smp_sm_event()
|