123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- #ifndef WOLFSSL_USER_SETTINGS_H
- #define WOLFSSL_USER_SETTINGS_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <stdint.h>
- #define HAVE_SYS_TIME_H
- #define HAVE_NETDB_H
- #define SINGLE_THREADED
- #define WOLFSSL_IGNORE_FILE_WARN
- #define WOLFSSL_PUBLIC_MP
- #define WOLFSSL_ENCRYPTED_KEYS
- #if 0
- #define KEEP_PEER_CERT
- #define KEEP_OUR_CERT
- #define WOLFSSL_ALWAYS_VERIFY_CB
- #define WOLFSSL_VERIFY_CB_ALL_CERTS
- #define WOLFSSL_ALWAYS_KEEP_SNI
- #define WOLFSSL_EXTRA_ALERTS
- #define HAVE_EX_DATA
- #define HAVE_EXT_CACHE
- #define ATOMIC_USER
- #define HAVE_PK_CALLBACKS
- #define WOLFSSL_ALT_NAMES
- #define HAVE_NULL_CIPHER
- #define WOLFSSL_HAVE_CERT_SERVICE
- #define WOLFSSL_JNI
- #define WOLFSSL_SEP
- #define WOLFCRYPT_HAVE_SRP
- #define WOLFSSL_HAVE_WOLFSCEP
- #define HAVE_PKCS7
- #define WOLFSSL_SIGNER_DER_CERT
- #define WOLFSSL_TRUST_PEER_CERT
- #define WOLFSSL_WOLFSSH
- #define WC_NO_ASYNC_THREADING
- #endif
- #define WOLFSSL_TLS13
- #define WOLFSSL_EITHER_SIDE
- #define WOLFSSL_TLS13_NO_PEEK_HANDSHAKE_DONE
- #define WOLFSSL_DTLS
- #define WOLFSSL_DTLS13
- #define HAVE_TLS_EXTENSIONS
- #define HAVE_SUPPORTED_CURVES
- #define HAVE_ONE_TIME_AUTH
- #define HAVE_SNI
- #define HAVE_ALPN
- #define HAVE_MAX_FRAGMENT
- #define HAVE_TRUNCATED_HMAC
- #define HAVE_SESSION_TICKET
- #define WOLFSSL_TICKET_HAVE_ID
- #define WOLFSSL_FORCE_CACHE_ON_TICKET
- #define HAVE_EXTENDED_MASTER
- #define HAVE_TRUSTED_CA
- #define HAVE_ENCRYPT_THEN_MAC
- #define WOLFSSL_POST_HANDSHAKE_AUTH
- #define WOLFSSL_SEND_HRR_COOKIE
- #define HAVE_ANON
- #define HAVE_FALLBACK_SCSV
- #define WOLFSSL_EARLY_DATA
- #define HAVE_SERVER_RENEGOTIATION_INFO
- #define SESSION_CERTS
- #define PERSIST_SESSION_CACHE
- #define PERSIST_CERT_CACHE
- #define WOLFSSL_KEY_GEN
- #define WOLFSSL_CERT_GEN
- #define WOLFSSL_CERT_REQ
- #define WOLFSSL_CERT_EXT
- #define WOLFSSL_MULTI_ATTRIB
- #define HAVE_SMIME
- #define WOLFSSL_DER_LOAD
- #define ASN_BER_TO_DER
- #define WOLFSSL_HAVE_ISSUER_NAMES
- #define WOLFSSL_SUBJ_DIR_ATTR
- #define WOLFSSL_SUBJ_INFO_ACC
- #define WOLFSSL_CERT_NAME_ALL
- #define WOLFSSL_FPKI
- #define WOLFSSL_AKID_NAME
- #define HAVE_CTS
- #define WOLFSSL_PEM_TO_DER
- #define WOLFSSL_DER_TO_PEM
- #define WOLFSSL_CUSTOM_OID
- #define HAVE_OID_ENCODING
- #define WOLFSSL_ASN_TEMPLATE
- #define HAVE_OCSP
- #define HAVE_CERTIFICATE_STATUS_REQUEST
- #define HAVE_CERTIFICATE_STATUS_REQUEST_V2
- #define HAVE_CRL
- #define HAVE_CRL_IO
- #define HAVE_IO_TIMEOUT
- #if 1
-
- #define WOLFSSL_SP_MATH_ALL
- #else
-
- #define USE_FAST_MATH
- #endif
- #define RSA_MAX_SIZE 4096
- #define FP_MAX_BITS 8192
- #define SP_INT_BITS 4096
- #define TFM_TIMING_RESISTANT
- #define ECC_TIMING_RESISTANT
- #define WC_RSA_BLINDING
- #define HAVE_FFDHE_2048
- #define HAVE_FFDHE_3072
- #define WOLFSSL_DH_EXTRA
- #define HAVE_DH_DEFAULT_PARAMS
- #define HAVE_ECC
- #define TFM_ECC256
- #define ECC_SHAMIR
- #define WOLFSSL_CUSTOM_CURVES
- #define HAVE_ECC_SECPR2
- #define HAVE_ECC_SECPR3
- #define HAVE_ECC_BRAINPOOL
- #define HAVE_ECC_KOBLITZ
- #define HAVE_ECC_CDH
- #define HAVE_COMP_KEY
- #define FP_ECC
- #define HAVE_ECC_ENCRYPT
- #define WOLFCRYPT_HAVE_ECCSI
- #define WOLFCRYPT_HAVE_SAKKE
- #define WOLFSSL_ECDSA_DETERMINISTIC_K_VARIANT
- #define WC_RSA_PSS
- #define WOLFSSL_PSS_LONG_SALT
- #define WC_RSA_NO_PADDING
- #define HAVE_AES_DECRYPT
- #define HAVE_AES_ECB
- #define WOLFSSL_AES_DIRECT
- #define WOLFSSL_AES_COUNTER
- #define HAVE_AESGCM
- #define GCM_TABLE_4BIT
- #define WOLFSSL_AESGCM_STREAM
- #define HAVE_AESCCM
- #define WOLFSSL_AES_OFB
- #define WOLFSSL_AES_CFB
- #define WOLFSSL_AES_XTS
- #define HAVE_AES_KEYWRAP
- #define WOLFSSL_AES_CBC_LENGTH_CHECKS
- #define WOLFSSL_USE_ALIGN
- #define WOLFSSL_AES_SIV
- #define WOLFSSL_SHA224
- #define WOLFSSL_SHA512
- #define WOLFSSL_SHA384
- #define WOLFSSL_SHAKE256
- #define WOLFSSL_SHA3
- #define WOLFSSL_HASH_FLAGS
- #define WOLFSSL_SHAKE256
- #define HAVE_HASHDRBG
- #define HAVE_CURVE25519
- #define HAVE_ED25519
- #define WOLFSSL_ED25519_STREAMING_VERIFY
- #define CURVED25519_SMALL
- #define HAVE_ED448
- #define WOLFSSL_ED448_STREAMING_VERIFY
- #define HAVE_CURVE448
- #define HAVE_POLY1305
- #define HAVE_CHACHA
- #define HAVE_XCHACHA
- #define HAVE_HKDF
- #define HAVE_X963_KDF
- #define WOLFSSL_CMAC
- #define WOLFSSL_DES_ECB
- #define HAVE_BLAKE2
- #define HAVE_BLAKE2B
- #define HAVE_BLAKE2S
- #define WOLFSSL_SIPHASH
- #define HAVE_KEYING_MATERIAL
- #define WOLFSSL_HAVE_PRF
- #define HAVE_HPKE
- #define HAVE_ECH
- #define WOLFSSL_BASE16
- #define WOLFSSL_BASE64_ENCODE
- #define OPENSSL_EXTRA
- #if 0
-
- #define OPENSSL_ALL
- #define HAVE_OPENSSL_CMD
- #define SSL_TXT_TLSV1_2
- #define SSL_TXT_TLSV1_1
- #define OPENSSL_NO_SSL2
- #define OPENSSL_NO_SSL3
- #define NO_OLD_RNGNAME
- #define NO_OLD_WC_NAMES
- #define NO_OLD_SSL_NAMES
- #define NO_OLD_SHA_NAMES
- #define NO_OLD_MD5_NAME
- #define OPENSSL_NO_EC
- #define WOLFSSL_VERBOSE_ERRORS
- #define ERROR_QUEUE_PER_THREAD
- #define WOLFSSL_ERROR_CODE_OPENSSL
- #define HAVE_WOLFSSL_SSL_H 1
- #define OPENSSL_COMPATIBLE_DEFAULTS
-
- #define WOLFSSL_LIBWEBSOCKETS
- #define WOLFSSL_OPENSSH
- #define WOLFSSL_QT
- #define FORTRESS
- #define HAVE_WEBSERVER
- #define HAVE_LIGHTY
- #define WOLFSSL_NGINX
- #define WOLFSSL_HAPROXY
- #define HAVE_STUNNEL
- #define WOLFSSL_ASIO
- #define ASIO_USE_WOLFSSL
- #define BOOST_ASIO_USE_WOLFSSL
- #define WOLFSSL_OPENVPN
- #define NO_WOLFSSL_STUB
- #endif
- #if 0
- #define WOLFSSL_STATIC_RSA
- #define WOLFSSL_STATIC_DH
- #define WOLFSSL_STATIC_PSK
- #endif
- #if 0
- #define WOLFSSL_STATIC_EPHEMERAL
- #define WOLFSSL_SNIFFER
- #endif
- #define NO_DSA
- #define NO_MD4
- #define NO_MD5
- #define NO_OLD_TLS
- #ifdef TEST_DISABLES
- #define NO_SESSION_CACHE
-
-
-
-
-
-
- #define NO_DH
- #define NO_SHA
- #define NO_SHA256
- #ifdef NO_SHA256
- #undef WOLFSSL_SHA224
- #endif
- #define NO_SHA512
- #ifdef NO_SHA512
- #undef WOLFSSL_SHA384
- #undef WOLFSSL_SHA512
- #undef HAVE_ED25519
- #endif
-
-
- #define NO_RC4
- #define NO_DES3
-
- #define NO_AES_CBC
- #define WOLFSSL_NO_SHAKE128
- #define NO_PSK
- #define NO_PWDBASED
-
-
- #define WOLFSSL_SP_NO_MALLOC
- #define NO_FILESYSTEM
- #define NO_WRITEV
- #define NO_ERROR_STRINGS
-
-
- #define NO_MULTIBYTE_PRINT
-
-
-
- #define NO_SIG_WRAPPER
-
-
-
-
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|