eapol/eapol_framework/eapol_common/type/mschapv2/include/eap_type_mschapv2.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: %
    19 * %version: 22.1.2 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _MSCHAPV2_CORE_H_
    22 #ifndef _MSCHAPV2_CORE_H_
    23 #define _MSCHAPV2_CORE_H_
    23 #define _MSCHAPV2_CORE_H_
    24 
    24 
   136 	bool m_use_EAP_FAST_challenge;
   136 	bool m_use_EAP_FAST_challenge;
   137 
   137 
   138 #endif //#if defined(USE_FAST_EAP_TYPE)
   138 #endif //#if defined(USE_FAST_EAP_TYPE)
   139 
   139 
   140 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   140 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   141 
   141 	
   142 	void send_error_notification(const eap_status_e error);
   142 	void send_error_notification(const eap_status_e error);
   143 
   143 
   144 	EAP_FUNC_IMPORT eap_status_e finish_successful_authentication();
   144 	eap_status_e finish_successful_authentication();
   145 
   145 
   146 	eap_status_e finish_unsuccessful_authentication(
   146 	eap_status_e finish_unsuccessful_authentication(
   147 		const bool authentication_cancelled);
   147 		const bool authentication_cancelled);
   148 
   148 
   149 	EAP_FUNC_IMPORT eap_status_e complete_eap_identity_query();
   149 	eap_status_e complete_eap_identity_query();
   150 
   150 
   151 	EAP_FUNC_IMPORT eap_status_e complete_failure_retry_response();
   151 	eap_status_e complete_failure_retry_response();
   152 
   152 
   153 	EAP_FUNC_IMPORT eap_status_e complete_change_password_query();
   153 	eap_status_e complete_change_password_query();
   154 
   154 
   155 	eap_status_e client_packet_process(
   155 	eap_status_e client_packet_process(
   156 		eap_header_wr_c * const eap, ///< This is pointer to EAP header and data.
   156 		eap_header_wr_c * const eap, ///< This is pointer to EAP header and data.
   157 		const u32_t eap_packet_length ///< This is length of received EAP packet.
   157 		const u32_t eap_packet_length ///< This is length of received EAP packet.
   158 		);
   158 		);