OPTIGA™ Trust M
Host Library Documentation
optiga_lib_config_m_v1.h
Go to the documentation of this file.
1
39
#ifndef _OPTIGA_LIB_CONFIG_M_V1_H_
40
#define _OPTIGA_LIB_CONFIG_M_V1_H_
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
47
#define OPTIGA_CRYPT_RANDOM_ENABLED
48
49
#define OPTIGA_CRYPT_HASH_ENABLED
50
51
#define OPTIGA_CRYPT_ECC_GENERATE_KEYPAIR_ENABLED
52
53
#define OPTIGA_CRYPT_ECDSA_SIGN_ENABLED
54
55
#define OPTIGA_CRYPT_ECDSA_VERIFY_ENABLED
56
57
#define OPTIGA_CRYPT_ECDH_ENABLED
58
59
#define OPTIGA_CRYPT_TLS_PRF_SHA256_ENABLED
60
61
#define OPTIGA_CRYPT_RSA_GENERATE_KEYPAIR_ENABLED
62
63
#define OPTIGA_CRYPT_RSA_SIGN_ENABLED
64
65
#define OPTIGA_CRYPT_RSA_VERIFY_ENABLED
66
67
#define OPTIGA_CRYPT_RSA_ENCRYPT_ENABLED
68
69
#define OPTIGA_CRYPT_RSA_DECRYPT_ENABLED
70
71
#define OPTIGA_CRYPT_RSA_PRE_MASTER_SECRET_ENABLED
72
76
#define OPTIGA_LIB_DEBUG_NULL_CHECK
77
78
#define OPTIGA_CMD_MAX_REGISTRATIONS (0x06)
79
80
#define OPTIGA_MAX_COMMS_BUFFER_SIZE (0x615) //1557 in decimal
81
87
#define OPTIGA_LIB_ENABLE_LOGGING
88
89
#define OPTIGA_PAL_INIT_ENABLED
90
#ifdef OPTIGA_LIB_ENABLE_LOGGING
92
93
//#define OPTIGA_LIB_ENABLE_UTIL_LOGGING
95
//#define OPTIGA_LIB_ENABLE_CRYPT_LOGGING
97
//#define OPTIGA_LIB_ENABLE_CMD_LOGGING
99
//#define OPTIGA_LIB_ENABLE_COMMS_LOGGING
100
#endif
101
106
#define OPTIGA_COMMS_SHIELDED_CONNECTION
107
109
#define OPTIGA_COMMS_DEFAULT_PROTECTION_LEVEL OPTIGA_COMMS_NO_PROTECTION
110
117
#define OPTIGA_COMMS_DEFAULT_RESET_TYPE (0U)
118
119
120
#ifdef __cplusplus
121
}
122
#endif
123
124
#endif
/* _OPTIGA_LIB_CONFIG_M_V1_H_*/
125
Copyright © 2021 Infineon Technologies AG