forked from MicrochipTech/cryptoauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atca_config.h.in
105 lines (77 loc) · 2.95 KB
/
atca_config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Auto-generated config file atca_config.h */
#ifndef ATCA_CONFIG_H
#define ATCA_CONFIG_H
/* Included HALS */
#cmakedefine ATCA_HAL_KIT_UART
#cmakedefine ATCA_HAL_KIT_HID
#cmakedefine ATCA_HAL_I2C
#cmakedefine ATCA_HAL_SPI
#cmakedefine ATCA_HAL_KIT_BRIDGE
#cmakedefine ATCA_HAL_CUSTOM
#cmakedefine ATCA_HAL_SWI_UART
#cmakedefine ATCA_HAL_1WIRE
/** Define to enable compatibility with legacy HALs
(HALs with embedded device logic)*/
#cmakedefine ATCA_HAL_LEGACY_API
/* Included device support */
#cmakedefine ATCA_ATSHA204A_SUPPORT
#cmakedefine ATCA_ATSHA206A_SUPPORT
#cmakedefine ATCA_ATECC108A_SUPPORT
#cmakedefine ATCA_ATECC508A_SUPPORT
#cmakedefine ATCA_ATECC608_SUPPORT
#cmakedefine ATCA_TA100_SUPPORT
#cmakedefine ATCA_ECC204_SUPPORT
/** Device Override - Library Assumes ATECC608B support in checks */
#cmakedefine ATCA_ATECC608A_SUPPORT
/** Define if cryptoauthlib is to use the maximum execution time method */
#cmakedefine ATCA_NO_POLL
/* \brief How long to wait after an initial wake failure for the POST to
* complete.
* If Power-on self test (POST) is enabled, the self test will run on waking
* from sleep or during power-on, which delays the wake reply.
*/
#ifndef ATCA_POST_DELAY_MSEC
#define ATCA_POST_DELAY_MSEC 25
#endif
/***************** Diagnostic & Test Configuration Section *****************/
/** Enable debug messages */
#cmakedefine ATCA_PRINTF
/** Enable to build in test hooks */
#cmakedefine ATCA_TESTS_ENABLED
/******************** Features Configuration Section ***********************/
/** Define certificate templates to be supported. */
#cmakedefine ATCA_TNGTLS_SUPPORT
#cmakedefine ATCA_TNGLORA_SUPPORT
#cmakedefine ATCA_TFLEX_SUPPORT
#cmakedefine ATCA_TNG_LEGACY_SUPPORT
/** Define Software Crypto Library to Use - if none are defined use the
cryptoauthlib version where applicable */
#cmakedefine ATCA_MBEDTLS
#cmakedefine ATCA_OPENSSL
#cmakedefine ATCA_WOLFSSL
#ifdef ATCA_WOLFSSL
#cmakedefine WOLFSSL_USER_SETTINGS
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#endif
#endif
/** Additional Runtime Configuration */
#cmakedefine ATCA_LIBRARY_CONF "@ATCA_LIBRARY_CONF@"
/** Define to build atcab_ functions rather that defining them as macros */
#cmakedefine ATCA_USE_ATCAB_FUNCTIONS
/** Define to enable older API forms that have been replaced */
#cmakedefine ATCA_ENABLE_DEPRECATED
/** TA100 Specific - Enable auth sessions that require AES (CMAC/GCM) from
an external library */
#cmakedefine ATCA_TA100_AES_AUTH_SUPPORT
/** TA100 Specific - Enable support for the FCE APIs for the TA100 */
#cmakedefine ATCA_TA100_FCE_SUPPORT
/******************** Platform Configuration Section ***********************/
/** Define if the library is not to use malloc/free */
#cmakedefine ATCA_NO_HEAP
/** Define platform malloc/free */
#cmakedefine ATCA_PLATFORM_MALLOC @ATCA_PLATFORM_MALLOC@
#cmakedefine ATCA_PLATFORM_FREE @ATCA_PLATFORM_FREE@
#define atca_delay_ms hal_delay_ms
#define atca_delay_us hal_delay_us
#endif // ATCA_CONFIG_H