Lines Matching refs:tSMP_CB
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);
139 static BT_HDR *smp_build_rand_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
140 static BT_HDR *smp_build_pairing_fail(UINT8 cmd_code, tSMP_CB *p_cb);
141 static BT_HDR *smp_build_identity_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
142 static BT_HDR *smp_build_encrypt_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
143 static BT_HDR *smp_build_security_request(UINT8 cmd_code, tSMP_CB *p_cb);
144 static BT_HDR *smp_build_signing_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
145 static BT_HDR *smp_build_master_id_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
146 static BT_HDR *smp_build_id_addr_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
147 static BT_HDR *smp_build_pair_public_key_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
148 static BT_HDR *smp_build_pairing_commitment_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
149 static BT_HDR *smp_build_pair_dhkey_check_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
150 static BT_HDR *smp_build_pairing_keypress_notification_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
274 static tSMP_ASSO_MODEL smp_select_legacy_association_model(tSMP_CB *p_cb);
275 static tSMP_ASSO_MODEL smp_select_association_model_secure_connections(tSMP_CB *p_cb);
315 BOOLEAN smp_send_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_send_cmd()
361 tSMP_CB *p_cb = &smp_cb; in smp_rsp_timeout()
383 BT_HDR * smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pairing_cmd()
414 static BT_HDR * smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_confirm_cmd()
441 static BT_HDR * smp_build_rand_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_rand_cmd()
467 static BT_HDR * smp_build_encrypt_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_encrypt_info_cmd()
493 static BT_HDR * smp_build_master_id_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_master_id_cmd()
520 static BT_HDR * smp_build_identity_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_identity_info_cmd()
551 static BT_HDR * smp_build_id_addr_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_id_addr_cmd()
579 static BT_HDR * smp_build_signing_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_signing_info_cmd()
605 static BT_HDR * smp_build_pairing_fail(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pairing_fail()
631 static BT_HDR *smp_build_security_request(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_security_request()
659 static BT_HDR *smp_build_pair_public_key_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pair_public_key_cmd()
690 static BT_HDR *smp_build_pairing_commitment_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pairing_commitment_cmd()
716 static BT_HDR *smp_build_pair_dhkey_check_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pair_dhkey_check_cmd()
742 static BT_HDR * smp_build_pairing_keypress_notification_cmd(UINT8 cmd_code, tSMP_CB *p_cb) in smp_build_pairing_keypress_notification_cmd()
837 void smp_cb_cleanup(tSMP_CB *p_cb) in smp_cb_cleanup()
845 memset(p_cb, 0, sizeof(tSMP_CB)); in smp_cb_cleanup()
860 void smp_remove_fixed_channel(tSMP_CB *p_cb) in smp_remove_fixed_channel()
881 void smp_reset_control_value(tSMP_CB *p_cb) in smp_reset_control_value()
908 void smp_proc_pairing_cmpl(tSMP_CB *p_cb) in smp_proc_pairing_cmpl()
952 BOOLEAN smp_command_has_invalid_parameters(tSMP_CB *p_cb) in smp_command_has_invalid_parameters()
985 BOOLEAN smp_command_has_valid_fixed_length(tSMP_CB *p_cb) in smp_command_has_valid_fixed_length()
1016 BOOLEAN smp_pairing_request_response_parameters_are_valid(tSMP_CB *p_cb) in smp_pairing_request_response_parameters_are_valid()
1069 BOOLEAN smp_pairing_keypress_notification_is_valid(tSMP_CB *p_cb) in smp_pairing_keypress_notification_is_valid()
1093 BOOLEAN smp_parameter_unconditionally_valid(UNUSED_ATTR tSMP_CB *p_cb) in smp_parameter_unconditionally_valid()
1105 BOOLEAN smp_parameter_unconditionally_invalid(UNUSED_ATTR tSMP_CB *p_cb) in smp_parameter_unconditionally_invalid()
1154 tSMP_ASSO_MODEL smp_select_association_model(tSMP_CB *p_cb) in smp_select_association_model()
1195 tSMP_ASSO_MODEL smp_select_legacy_association_model(tSMP_CB *p_cb) in smp_select_legacy_association_model()
1233 tSMP_ASSO_MODEL smp_select_association_model_secure_connections(tSMP_CB *p_cb) in smp_select_association_model_secure_connections()
1316 void smp_collect_local_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb) in smp_collect_local_io_capabilities()
1334 void smp_collect_peer_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb) in smp_collect_peer_io_capabilities()
1353 void smp_collect_local_ble_address(UINT8 *le_addr, tSMP_CB *p_cb) in smp_collect_local_ble_address()
1376 void smp_collect_peer_ble_address(UINT8 *le_addr, tSMP_CB *p_cb) in smp_collect_peer_ble_address()
1405 BOOLEAN smp_check_commitment(tSMP_CB *p_cb) in smp_check_commitment()
1435 void smp_save_secure_connections_long_term_key(tSMP_CB *p_cb) in smp_save_secure_connections_long_term_key()
1468 BOOLEAN smp_calculate_f5_mackey_and_long_term_key(tSMP_CB *p_cb) in smp_calculate_f5_mackey_and_long_term_key()
1512 BOOLEAN smp_request_oob_data(tSMP_CB *p_cb) in smp_request_oob_data()