user_settings.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /* user_settings.h
  2. *
  3. * Copyright (C) 2006-2022 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. #ifdef CONFIG_WOLFSSL
  24. #ifdef CONFIG_WOLFSSL_SETTINGS_FILE
  25. #include CONFIG_WOLFSSL_SETTINGS_FILE
  26. #else
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. #undef WOLFSSL_ZEPHYR
  31. #define WOLFSSL_ZEPHYR
  32. #if 0
  33. #undef SINGLE_THREADED
  34. #define SINGLE_THREADED
  35. #endif
  36. #undef TFM_TIMING_RESISTANT
  37. #define TFM_TIMING_RESISTANT
  38. #undef ECC_TIMING_RESISTANT
  39. #define ECC_TIMING_RESISTANT
  40. #undef WC_RSA_BLINDING
  41. #define WC_RSA_BLINDING
  42. #undef HAVE_AESGCM
  43. #define HAVE_AESGCM
  44. #undef WOLFSSL_SHA512
  45. #define WOLFSSL_SHA512
  46. #undef WOLFSSL_SHA384
  47. #define WOLFSSL_SHA384
  48. #undef NO_DSA
  49. #define NO_DSA
  50. #undef HAVE_ECC
  51. #define HAVE_ECC
  52. #undef TFM_ECC256
  53. #define TFM_ECC256
  54. #undef WOLFSSL_BASE64_ENCODE
  55. #define WOLFSSL_BASE64_ENCODE
  56. #undef NO_RC4
  57. #define NO_RC4
  58. #undef WOLFSSL_SHA224
  59. #define WOLFSSL_SHA224
  60. #undef WOLFSSL_SHA3
  61. #define WOLFSSL_SHA3
  62. #undef HAVE_POLY1305
  63. #define HAVE_POLY1305
  64. #undef HAVE_ONE_TIME_AUTH
  65. #define HAVE_ONE_TIME_AUTH
  66. #undef HAVE_CHACHA
  67. #define HAVE_CHACHA
  68. #undef HAVE_HASHDRBG
  69. #define HAVE_HASHDRBG
  70. #undef NO_FILESYSTEM
  71. #define NO_FILESYSTEM
  72. #undef HAVE_TLS_EXTENSIONS
  73. #define HAVE_TLS_EXTENSIONS
  74. #undef HAVE_SUPPORTED_CURVES
  75. #define HAVE_SUPPORTED_CURVES
  76. #undef HAVE_EXTENDED_MASTER
  77. #define HAVE_EXTENDED_MASTER
  78. #undef NO_PSK
  79. #define NO_PSK
  80. #undef NO_MD4
  81. #define NO_MD4
  82. #undef NO_PWDBASED
  83. #define NO_PWDBASED
  84. #undef USE_FAST_MATH
  85. #define USE_FAST_MATH
  86. #undef WOLFSSL_NO_ASM
  87. #define WOLFSSL_NO_ASM
  88. #undef WOLFSSL_X86_BUILD
  89. #define WOLFSSL_X86_BUILD
  90. #undef WC_NO_ASYNC_THREADING
  91. #define WC_NO_ASYNC_THREADING
  92. #undef NO_DES3
  93. #define NO_DES3
  94. #undef WOLFSSL_STATIC_MEMORY
  95. #define WOLFSSL_STATIC_MEMORY
  96. #if 0
  97. #undef WOLFSSL_HAVE_SP_RSA
  98. #define WOLFSSL_HAVE_SP_RSA
  99. #undef WOLFSSL_HAVE_SP_DH
  100. #define WOLFSSL_HAVE_SP_DH
  101. #undef WOLFSSL_HAVE_SP_ECC
  102. #define WOLFSSL_HAVE_SP_ECC
  103. #endif
  104. #if defined(CONFIG_WOLFSSL_DEBUG)
  105. #undef DEBUG_WOLFSSL
  106. #define DEBUG_WOLFSSL
  107. #endif
  108. #ifdef __cplusplus
  109. }
  110. #endif
  111. #endif /* CONFIG_WOLFSSL_SETTINGS_FILE */
  112. #endif /* CONFIG_WOLFSSL */
  113. #endif /* USER_SETTINGS_H */