2
0

user_settings.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. #ifndef USER_SETTINGS_H_
  22. #define USER_SETTINGS_H_
  23. /* Temporary defines. Not suitable for production. */
  24. #define WOLFSSL_GENSEED_FORTEST /* Warning: define your own seed gen */
  25. /* End temporary defines */
  26. /* TLS 1.3 */
  27. #define WOLFSSL_TLS13
  28. #define HAVE_HKDF
  29. #define WC_RSA_PSS
  30. #if defined(WOLFSSL_TLS13)
  31. #include <sys/time.h>
  32. #endif
  33. /* Operating Environment and Threading */
  34. #define FREERTOS
  35. #define FREERTOS_TCP
  36. #define NO_DEV_RANDOM
  37. #define NO_WRITEV
  38. #define NO_MAIN_DRIVER
  39. #define BENCH_EMBEDDED
  40. /* Filesystem and IO */
  41. #define NO_WOLFSSL_DIR
  42. #define WOLFSSL_NO_CURRDIR
  43. #define NO_FILESYSTEM
  44. /* Cryptography Enable Options */
  45. #define HAVE_CHACHA
  46. #define HAVE_POLY1305
  47. #define HAVE_ECC
  48. #define HAVE_SHA256
  49. #define HAVE_SUPPORTED_CURVES
  50. #define HAVE_TLS_EXTENSIONS
  51. #define HAVE_TRUNCATED_HMAC
  52. #define HAVE_EXTENDED_MASTER
  53. #define HAVE_ALPN
  54. #define HAVE_SNI
  55. #define HAVE_OCSP
  56. #define HAVE_AESGCM
  57. #define HAVE_ONE_TIME_AUTH
  58. /* Non-Fast Math may call realloc. This project has no realloc support */
  59. #define USE_FAST_MATH
  60. #define ALT_ECC_SIZE
  61. #define TFM_TIMING_RESISTANT
  62. #define ECC_TIMING_RESISTANT
  63. #define WC_RSA_BLINDING
  64. #define WOLFSSL_SMALL_STACK
  65. #define WOLFSSL_DH_CONST
  66. /* Cryptography Disable options */
  67. #define NO_PWDBASED
  68. #define NO_DSA
  69. #define NO_DES3
  70. #define NO_RC4
  71. #define NO_MD4
  72. void wolfssl_thread_entry(void *pvParameters);
  73. extern void initialise_monitor_handles(void);
  74. int strncasecmp(const char *s1, const char * s2, unsigned int sz);
  75. #endif /* USER_SETTINGS_H_ */