19 * %version: % |
19 * %version: % |
20 */ |
20 */ |
21 |
21 |
22 #include "eap_am_types.h" |
22 #include "eap_am_types.h" |
23 #include "eap_am_export.h" |
23 #include "eap_am_export.h" |
|
24 // Start: added by script change_export_macros.sh. |
|
25 #if defined(EAP_NO_EXPORT_DSS_RANDOM_H) |
|
26 #define EAP_CLASS_VISIBILITY_DSS_RANDOM_H EAP_NONSHARABLE |
|
27 #define EAP_FUNC_VISIBILITY_DSS_RANDOM_H |
|
28 #define EAP_C_FUNC_VISIBILITY_DSS_RANDOM_H |
|
29 #define EAP_FUNC_EXPORT_DSS_RANDOM_H |
|
30 #define EAP_C_FUNC_EXPORT_DSS_RANDOM_H |
|
31 #elif defined(EAP_EXPORT_DSS_RANDOM_H) |
|
32 #define EAP_CLASS_VISIBILITY_DSS_RANDOM_H EAP_EXPORT |
|
33 #define EAP_FUNC_VISIBILITY_DSS_RANDOM_H EAP_FUNC_EXPORT |
|
34 #define EAP_C_FUNC_VISIBILITY_DSS_RANDOM_H EAP_C_FUNC_EXPORT |
|
35 #define EAP_FUNC_EXPORT_DSS_RANDOM_H EAP_FUNC_EXPORT |
|
36 #define EAP_C_FUNC_EXPORT_DSS_RANDOM_H EAP_C_FUNC_EXPORT |
|
37 #else |
|
38 #define EAP_CLASS_VISIBILITY_DSS_RANDOM_H EAP_IMPORT |
|
39 #define EAP_FUNC_VISIBILITY_DSS_RANDOM_H EAP_FUNC_IMPORT |
|
40 #define EAP_C_FUNC_VISIBILITY_DSS_RANDOM_H EAP_C_FUNC_IMPORT |
|
41 #define EAP_FUNC_EXPORT_DSS_RANDOM_H |
|
42 #define EAP_C_FUNC_EXPORT_DSS_RANDOM_H |
|
43 #endif |
|
44 // End: added by script change_export_macros.sh. |
24 #include "eap_am_tools.h" |
45 #include "eap_am_tools.h" |
25 |
46 |
26 #ifdef __cplusplus |
47 #ifdef __cplusplus |
27 extern "C" { |
48 extern "C" { |
28 #endif |
49 #endif |
29 |
50 |
30 EAP_C_FUNC_IMPORT eap_status_e dss_pseudo_random(abs_eap_am_tools_c * const am_tools, u8_t *out, u32_t out_length, u8_t *xkey, u32_t xkey_length); |
51 EAP_C_FUNC_VISIBILITY_DSS_RANDOM_H eap_status_e dss_pseudo_random(abs_eap_am_tools_c * const am_tools, u8_t *out, u32_t out_length, u8_t *xkey, u32_t xkey_length); |
31 |
52 |
32 #ifdef __cplusplus |
53 #ifdef __cplusplus |
33 } |
54 } |
34 #endif |
55 #endif |
35 |
56 |