eapol/eapol_framework/eapol_symbian/am/type/aka/symbian/eap_am_type_aka_symbian.cpp
branchCompilerCompatibility
changeset 14 3f122ca50ab9
parent 2 1c7bc153c08e
equal deleted inserted replaced
13:5431fd16d0e9 14:3f122ca50ab9
   223 #endif //#if defined (USE_EAP_AKA_INTERFACE)	&& !defined(__WINS__)
   223 #endif //#if defined (USE_EAP_AKA_INTERFACE)	&& !defined(__WINS__)
   224 }
   224 }
   225 
   225 
   226 //--------------------------------------------------
   226 //--------------------------------------------------
   227 
   227 
   228 eap_am_type_aka_symbian_c* eap_am_type_aka_symbian_c::NewL(
   228 EAP_FUNC_EXPORT eap_am_type_aka_symbian_c* eap_am_type_aka_symbian_c::NewL(
   229 	abs_eap_am_tools_c * const aTools,
   229 	abs_eap_am_tools_c * const aTools,
   230 	abs_eap_base_type_c * const aPartner,
   230 	abs_eap_base_type_c * const aPartner,
   231 	const TIndexType aIndexType,
   231 	const TIndexType aIndexType,
   232 	const TInt aIndex,
   232 	const TInt aIndex,
   233 	const eap_type_value_e aTunnelingType,
   233 	const eap_type_value_e aTunnelingType,
  1384 	EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);	
  1384 	EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);	
  1385 }
  1385 }
  1386 
  1386 
  1387 //--------------------------------------------------
  1387 //--------------------------------------------------
  1388 
  1388 
  1389 eap_status_e eap_am_type_aka_symbian_c::complete_AKA_imsi_L(
  1389 EAP_FUNC_EXPORT eap_status_e eap_am_type_aka_symbian_c::complete_AKA_imsi_L(
  1390 	const eap_variable_data_c * const IMSI,
  1390 	const eap_variable_data_c * const IMSI,
  1391 	const eap_status_e completion_status )
  1391 	const eap_status_e completion_status )
  1392 {
  1392 {
  1393 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
  1393 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
  1394 	eap_status_e status(eap_status_process_general_error);
  1394 	eap_status_e status(eap_status_process_general_error);
  1698 	return EAP_STATUS_RETURN(m_am_tools, status);
  1698 	return EAP_STATUS_RETURN(m_am_tools, status);
  1699 }
  1699 }
  1700 
  1700 
  1701 //--------------------------------------------------
  1701 //--------------------------------------------------
  1702 
  1702 
  1703 eap_status_e eap_am_type_aka_symbian_c::complete_AKA_RES_L(
  1703 EAP_FUNC_EXPORT eap_status_e eap_am_type_aka_symbian_c::complete_AKA_RES_L(
  1704 	eap_variable_data_c * const aRES, 
  1704 	eap_variable_data_c * const aRES, 
  1705 	eap_variable_data_c * const aCK,
  1705 	eap_variable_data_c * const aCK,
  1706 	eap_variable_data_c * const aIK,
  1706 	eap_variable_data_c * const aIK,
  1707 	eap_variable_data_c * const aAUTS,
  1707 	eap_variable_data_c * const aAUTS,
  1708 	eap_status_e authenticationStatus,
  1708 	eap_status_e authenticationStatus,
  2603 
  2603 
  2604 #endif // #if defined (USE_EAP_TYPE_SERVER_AKA)		
  2604 #endif // #if defined (USE_EAP_TYPE_SERVER_AKA)		
  2605 
  2605 
  2606 //--------------------------------------------------
  2606 //--------------------------------------------------
  2607 
  2607 
  2608 eap_status_e eap_am_type_aka_symbian_c::generate_reauthentication_id(
  2608 EAP_FUNC_EXPORT eap_status_e eap_am_type_aka_symbian_c::generate_reauthentication_id(
  2609 	const eap_am_network_id_c * const send_network_id,
  2609 	const eap_am_network_id_c * const send_network_id,
  2610 	const eap_variable_data_c * const imsi,
  2610 	const eap_variable_data_c * const imsi,
  2611 	eap_variable_data_c * const reauthentication_identity,
  2611 	eap_variable_data_c * const reauthentication_identity,
  2612 	const u32_t maximum_reauthentication_identity_length)
  2612 	const u32_t maximum_reauthentication_identity_length)
  2613 {
  2613 {
  2980 	return EAP_STATUS_RETURN(m_am_tools, eap_status_ok);
  2980 	return EAP_STATUS_RETURN(m_am_tools, eap_status_ok);
  2981 }
  2981 }
  2982 
  2982 
  2983 //--------------------------------------------------
  2983 //--------------------------------------------------
  2984 
  2984 
  2985 bool eap_am_type_aka_symbian_c::is_session_valid()
  2985 EAP_FUNC_EXPORT bool eap_am_type_aka_symbian_c::is_session_valid()
  2986 {
  2986 {
  2987 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
  2987 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
  2988 	
  2988 	
  2989 	bool sessionValidity(false);
  2989 	bool sessionValidity(false);
  2990 	
  2990