Searched refs:tSMP_CB (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/include/ |
D | smp_int.h | 341 } tSMP_CB; typedef 344 typedef void (*tSMP_ACT)(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 353 extern tSMP_CB smp_cb; 355 extern tSMP_CB *smp_cb_ptr; 367 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 369 extern void smp_proc_sec_request(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 390 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 395 extern void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data); 401 extern void smp_send_pair_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 402 extern void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/ |
D | smp_utils.c | 77 static BOOLEAN smp_parameter_unconditionally_valid(tSMP_CB *p_cb); 78 static BOOLEAN smp_parameter_unconditionally_invalid(tSMP_CB *p_cb); 81 typedef BOOLEAN (*tSMP_CMD_LEN_VALID)(tSMP_CB *p_cb); 83 static BOOLEAN smp_command_has_valid_fixed_length(tSMP_CB *p_cb); 105 typedef BOOLEAN (*tSMP_CMD_PARAM_RANGES_VALID)(tSMP_CB *p_cb); 107 static BOOLEAN smp_pairing_request_response_parameters_are_valid(tSMP_CB *p_cb); 108 static BOOLEAN smp_pairing_keypress_notification_is_valid(tSMP_CB *p_cb); 130 typedef BT_HDR *(*tSMP_CMD_ACT)(UINT8 cmd_code, tSMP_CB *p_cb); 132 static BT_HDR *smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 133 static BT_HDR *smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb); [all …]
|
D | smp_act.c | 80 static void smp_update_key_mask (tSMP_CB *p_cb, UINT8 key_type, BOOLEAN recv) in smp_update_key_mask() 114 void smp_send_app_cback(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_app_cback() 233 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() 270 void smp_send_pair_rsp(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_pair_rsp() 292 void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_confirm() 303 void smp_send_init(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) 314 void smp_send_rand(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_rand() 324 void smp_send_pair_public_key(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_pair_public_key() 334 void smp_send_commitment(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) in smp_send_commitment() [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 smp_cb_ptr = (tSMP_CB *)osi_malloc(sizeof(tSMP_CB)); in SMP_Init() 57 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Init() 75 memset(&smp_cb, 0, sizeof(tSMP_CB)); in SMP_Free() 150 tSMP_CB *p_cb = &smp_cb; in SMP_Pair() 189 tSMP_CB *p_cb = &smp_cb; in SMP_BR_PairWith() 231 tSMP_CB *p_cb = &smp_cb; in SMP_PairCancel() 305 tSMP_CB *p_cb = & smp_cb; in SMP_PasskeyReply() 357 tSMP_CB *p_cb = & smp_cb; in SMP_SetStaticPasskey() 381 tSMP_CB *p_cb = & smp_cb; in SMP_ConfirmReply() 425 tSMP_CB *p_cb = & smp_cb; in SMP_OobDataReply() [all …]
|
D | smp_l2c.c | 105 tSMP_CB *p_cb = &smp_cb; in smp_connect_callback() 158 tSMP_CB *p_cb = &smp_cb; in smp_data_received() 220 tSMP_CB *p_cb = &smp_cb; in smp_tx_complete_callback() 253 tSMP_CB *p_cb = &smp_cb; in smp_br_connect_callback() 302 tSMP_CB *p_cb = &smp_cb; in smp_br_data_received()
|
D | smp_main.c | 682 tSMP_CB smp_cb; 684 tSMP_CB *smp_cb_ptr; 728 void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data) in smp_sm_event()
|
D | smp_br_main.c | 314 void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data) in smp_br_state_machine_event()
|