123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- #ifndef WOLF_USER_SETTINGS_TPM_H
- #define WOLF_USER_SETTINGS_TPM_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define NO_FILESYSTEM
- #define SINGLE_THREADED
- #define WOLFSSL_USER_IO
- #define NO_WRITEV
- #define NO_MAIN_DRIVER
- #define WOLFSSL_IGNORE_FILE_WARN
- #define WOLFSSL_SMALL_STACK
- #define BENCH_EMBEDDED
- #define WOLFSSL_TLS13
- #define NO_OLD_TLS
- #define WOLFSSL_EITHER_SIDE
- #define HAVE_TLS_EXTENSIONS
- #define HAVE_SUPPORTED_CURVES
- #define HAVE_SERVER_RENEGOTIATION_INFO
- #define HAVE_ENCRYPT_THEN_MAC
- #ifdef WOLFSSL_TLS13
- #define HAVE_HKDF
- #define WC_RSA_PSS
- #define WOLFSSL_PSS_LONG_SALT
- #endif
- #define WOLF_CRYPTO_CB
- #define WOLFSSL_SP_MATH_ALL
- #if 1
-
- #define WOLFSSL_HAVE_SP_RSA
- #define WOLFSSL_HAVE_SP_ECC
- #define WOLFSSL_SP_SMALL
- #endif
- #if 0
-
- #define WOLFSSL_SP_MATH
- #endif
- #define TFM_TIMING_RESISTANT
- #define ECC_TIMING_RESISTANT
- #define WC_RSA_BLINDING
- #define HAVE_HASHDRBG
- #if 1
- #undef NO_RSA
- #ifdef USE_LOW_RESOURCE
- #define WOLFSSL_RSA_PUBLIC_ONLY
- #define WOLFSSL_RSA_VERIFY_INLINE
- #define NO_CHECK_PRIVATE_KEY
- #endif
- #else
- #define NO_RSA
- #endif
- #if 1
- #define HAVE_ECC
- #define ECC_USER_CURVES
- #endif
- #if 0
- #undef NO_DH
- #define HAVE_FFDHE_2048
- #define HAVE_DH_DEFAULT_PARAMS
- #else
- #define NO_DH
- #endif
- #undef NO_SHA
- #undef NO_SHA256
- #define WOLFSSL_SHA384
- #define WOLFSSL_SHA512
- #define WOLFSSL_AES_CFB
- #define HAVE_AES_DECRYPT
- #define HAVE_AES_KEYWRAP
- #define WOLFSSL_AES_DIRECT
- #define HAVE_AESGCM
- #define GCM_TABLE_4BIT
- #define WOLFSSL_ASN_TEMPLATE
- #define WOLFSSL_CERT_GEN
- #define WOLFSSL_CERT_REQ
- #define WOLFSSL_CERT_EXT
- #define HAVE_PKCS7
- #define HAVE_X963_KDF
- #define WOLFSSL_BASE64_ENCODE
- #if 1
- #define HAVE_SESSION_TICKETS
- #define SMALL_SESSION_CACHE
- #else
- #define NO_SESSION_CACHE
- #endif
- #define NO_PKCS8
- #define NO_PKCS12
- #define NO_PWDBASED
- #define NO_DSA
- #define NO_DES3
- #define NO_RC4
- #define NO_PSK
- #define NO_MD4
- #define NO_MD5
- #define WOLFSSL_NO_SHAKE128
- #define WOLFSSL_NO_SHAKE256
- #ifdef ENABLE_SECURE_SOCKETS_LOGS
- #define DEBUG_WOLFSSL
- #else
- #define NO_ERROR_STRINGS
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|