123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- /* user_settings.h
- *
- * Copyright (C) 2006-2021 wolfSSL Inc.
- *
- * This file is part of wolfSSL.
- *
- * wolfSSL is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * wolfSSL is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
- */
- #ifndef USER_SETTINGS_H
- #define USER_SETTINGS_H
- #ifdef CONFIG_WOLFSSL
- #ifdef CONFIG_WOLFSSL_SETTINGS_FILE
- #include CONFIG_WOLFSSL_SETTINGS_FILE
- #else
- #ifdef __cplusplus
- extern "C" {
- #endif
- #undef WOLFSSL_ZEPHYR
- #define WOLFSSL_ZEPHYR
- #if 0
- #undef SINGLE_THREADED
- #define SINGLE_THREADED
- #endif
- #undef TFM_TIMING_RESISTANT
- #define TFM_TIMING_RESISTANT
- #undef ECC_TIMING_RESISTANT
- #define ECC_TIMING_RESISTANT
- #undef WC_RSA_BLINDING
- #define WC_RSA_BLINDING
- #undef HAVE_AESGCM
- #define HAVE_AESGCM
- #undef WOLFSSL_SHA512
- #define WOLFSSL_SHA512
- #undef WOLFSSL_SHA384
- #define WOLFSSL_SHA384
- #undef NO_DSA
- #define NO_DSA
- #undef HAVE_ECC
- #define HAVE_ECC
- #undef TFM_ECC256
- #define TFM_ECC256
- #undef WOLFSSL_BASE64_ENCODE
- #define WOLFSSL_BASE64_ENCODE
- #undef NO_RC4
- #define NO_RC4
- #undef NO_HC128
- #define NO_HC128
- #undef NO_RABBIT
- #define NO_RABBIT
- #undef WOLFSSL_SHA224
- #define WOLFSSL_SHA224
- #undef WOLFSSL_SHA3
- #define WOLFSSL_SHA3
- #undef HAVE_POLY1305
- #define HAVE_POLY1305
- #undef HAVE_ONE_TIME_AUTH
- #define HAVE_ONE_TIME_AUTH
- #undef HAVE_CHACHA
- #define HAVE_CHACHA
- #undef HAVE_HASHDRBG
- #define HAVE_HASHDRBG
- #undef NO_FILESYSTEM
- #define NO_FILESYSTEM
- #undef HAVE_TLS_EXTENSIONS
- #define HAVE_TLS_EXTENSIONS
- #undef HAVE_SUPPORTED_CURVES
- #define HAVE_SUPPORTED_CURVES
- #undef HAVE_EXTENDED_MASTER
- #define HAVE_EXTENDED_MASTER
- #undef NO_PSK
- #define NO_PSK
- #undef NO_MD4
- #define NO_MD4
- #undef NO_PWDBASED
- #define NO_PWDBASED
- #undef USE_FAST_MATH
- #define USE_FAST_MATH
- #undef WOLFSSL_NO_ASM
- #define WOLFSSL_NO_ASM
- #undef WOLFSSL_X86_BUILD
- #define WOLFSSL_X86_BUILD
- #undef WC_NO_ASYNC_THREADING
- #define WC_NO_ASYNC_THREADING
- #undef NO_DES3
- #define NO_DES3
- #undef WOLFSSL_STATIC_MEMORY
- #define WOLFSSL_STATIC_MEMORY
- #if 0
- #undef WOLFSSL_HAVE_SP_RSA
- #define WOLFSSL_HAVE_SP_RSA
- #undef WOLFSSL_HAVE_SP_DH
- #define WOLFSSL_HAVE_SP_DH
- #undef WOLFSSL_HAVE_SP_ECC
- #define WOLFSSL_HAVE_SP_ECC
- #endif
- #if defined(CONFIG_WOLFSSL_DEBUG)
- #undef DEBUG_WOLFSSL
- #define DEBUG_WOLFSSL
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif /* CONFIG_WOLFSSL_SETTINGS_FILE */
- #endif /* CONFIG_WOLFSSL */
- #endif /* USER_SETTINGS_H */
|