eapol/eapol_framework/eapol_common/am/include/abs_eap_am_crypto.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    23 #define _ABS_EAP_AM_CRYPTO_H_
    23 #define _ABS_EAP_AM_CRYPTO_H_
    24 
    24 
    25 #include "eap_am_types.h"
    25 #include "eap_am_types.h"
    26 #include "eap_variable_data.h"
    26 #include "eap_variable_data.h"
    27 #include "eap_am_export.h"
    27 #include "eap_am_export.h"
       
    28 // Start: added by script change_export_macros.sh.
       
    29 #if defined(EAP_NO_EXPORT_ABS_EAP_AM_CRYPTO_H)
       
    30 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H 
       
    33 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H 
       
    34 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H 
       
    35 #elif defined(EAP_EXPORT_ABS_EAP_AM_CRYPTO_H)
       
    36 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_CRYPTO_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H 
       
    46 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_CRYPTO_H 
       
    47 #endif
       
    48 // End: added by script change_export_macros.sh.
    28 #include "eap_am_tools.h"
    49 #include "eap_am_tools.h"
    29 #include "eap_array.h"
    50 #include "eap_array.h"
    30 
    51 
    31 #if 0
    52 #if 0
    32 const u32_t TRACE_FLAGS_EAP_AM_CRYPTO = 
    53 const u32_t TRACE_FLAGS_EAP_AM_CRYPTO = 
    45 class abs_eap_am_tools_c;
    66 class abs_eap_am_tools_c;
    46 class eap_variable_data_c;
    67 class eap_variable_data_c;
    47 
    68 
    48 /// Class eap_am_crypto offers services to authenticate data, encrypt data,
    69 /// Class eap_am_crypto offers services to authenticate data, encrypt data,
    49 /// decrypt data, generate keys and generate cryptographically strong random data.
    70 /// decrypt data, generate keys and generate cryptographically strong random data.
    50 class EAP_EXPORT abs_eap_am_crypto_c
    71 class EAP_CLASS_VISIBILITY_ABS_EAP_AM_CRYPTO_H abs_eap_am_crypto_c
    51 {
    72 {
    52 private:
    73 private:
    53 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    74 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    54 
    75 
    55 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    76 	// - - - - - - - - - - - - - - - - - - - - - - - - - - - -