eapol/eapol_framework/eapol_common/type/gsmsim/include/eap_type_gsmsim_mac_attributes.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    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: 7.1.2 %
    20 */
    20 */
    21 
    21 
    22 #if !defined(_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H_)
    22 #if !defined(_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H_)
    23 #define _EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H_
    23 #define _EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H_
    24 
    24 
       
    25 #include "eap_am_export.h"
       
    26 // Start: added by script change_export_macros.sh.
       
    27 #if defined(EAP_NO_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H)
       
    28 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_NONSHARABLE 
       
    29 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    30 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    31 	#define EAP_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    32 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    33 #elif defined(EAP_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H)
       
    34 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_EXPORT 
       
    35 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_FUNC_EXPORT 
       
    36 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_C_FUNC_EXPORT 
       
    37 	#define EAP_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_C_FUNC_EXPORT 
       
    39 #else
       
    40 	#define EAP_CLASS_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_IMPORT 
       
    41 	#define EAP_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_FUNC_IMPORT 
       
    42 	#define EAP_C_FUNC_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H EAP_C_FUNC_IMPORT 
       
    43 	#define EAP_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    44 	#define EAP_C_FUNC_EXPORT_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H 
       
    45 #endif
       
    46 // End: added by script change_export_macros.sh.
    25 #include "eap_type_gsmsim_header.h"
    47 #include "eap_type_gsmsim_header.h"
    26 #include "eap_type_all_types.h"
    48 #include "eap_type_all_types.h"
    27 
    49 
    28 //--------------------------------------------------
    50 //--------------------------------------------------
    29 
    51 
    30 /// These are the stored attributes for message authentication calculations.
    52 /// These are the stored attributes for message authentication calculations.
    31 class eap_type_gsmsim_MAC_attributes_c
    53 class EAP_CLASS_VISIBILITY_EAP_TYPE_GSMSIM_MAC_ATTRIBUTES_H eap_type_gsmsim_MAC_attributes_c
    32 {
    54 {
    33 private:
    55 private:
    34 	//--------------------------------------------------
    56 	//--------------------------------------------------
    35 
    57 
    36 	u8_t * m_MAC;                       ///< This is the pointer to MAC.
    58 	u8_t * m_MAC;                       ///< This is the pointer to MAC.