user_settings.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* user_settings.h
  2. *
  3. * Copyright (C) 2006-2024 wolfSSL Inc.
  4. *
  5. * This file is part of wolfSSL.
  6. *
  7. * wolfSSL is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * wolfSSL is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
  20. */
  21. #define NO_MAIN_DRIVER
  22. #define BENCH_EMBEDDED
  23. #define NO_WRITEV
  24. #define NO_DEV_RANDOM
  25. #define USE_CERT_BUFFERS_2048
  26. #define SIZEOF_LONG_LONG 8
  27. #define NO_WOLFSSL_DIR
  28. #define WOLFSSL_NO_CURRDIR
  29. #define WOLFSSL_LOG_PRINTF
  30. #define NO_WOLFSSL_STUB
  31. #define NO_DYNAMIC_ARRAY /* for compilers not allowed dynamic size array */
  32. #define WOLFSSL_SMALL_STACK
  33. #define WOLFSSL_DH_CONST
  34. #define TFM_TIMING_RESISTANT
  35. #define ECC_TIMING_RESISTANT
  36. #define WC_RSA_BLINDING
  37. #define HAVE_TLS_EXTENSIONS
  38. #define HAVE_SUPPORTED_CURVES
  39. #define WOLFSSL_USER_IO
  40. //#define WOLFSSL_USER_KEYFILES /* To be defined key and cert files in user_settings.h */
  41. //#define WOLFSSL_NO_ABORT /* No abort during the test except exception occurred */
  42. //#define DEBUG_WOLFSSL
  43. #define OPENSSL_EXTRA
  44. #define USER_TIME
  45. #define XTIME time
  46. #define USE_WOLF_SUSECONDS_T
  47. #define USE_WOLF_TIMEVAL_T
  48. #define WOLFSSL_USER_CURRTIME /* for benchmark */
  49. #define WOLFSSL_GENSEED_FORTEST /* Wardning: define your own seed gen */
  50. #define SINGLE_THREADED /* or define RTOS option */
  51. /*#define WOLFSSL_CMSIS_RTOS */
  52. /* #define NO_DH */
  53. #define NO_RC4
  54. #define HAVE_AESGCM
  55. #define WOLFSSL_SHA512
  56. #define WOLFSSL_SHA384
  57. #define HAVE_ECC
  58. #define HAVE_CURVE25519
  59. #define CURVE25519_SMALL
  60. #define HAVE_ED25519
  61. #define NO_OLD_SHA256_NAMES
  62. #define HAVE_CRL
  63. #define HAVE_OCSP
  64. #define HAVE_CERTIFICATE_STATUS_REQUEST
  65. #define NO_FILESYSTEM