user_settings.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /* user_settings.h
  2. *
  3. * Copyright (C) 2006-2021 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 NO_HC128
  59. #define NO_HC128
  60. #undef NO_RABBIT
  61. #define NO_RABBIT
  62. #undef WOLFSSL_SHA224
  63. #define WOLFSSL_SHA224
  64. #undef WOLFSSL_SHA3
  65. #define WOLFSSL_SHA3
  66. #undef HAVE_POLY1305
  67. #define HAVE_POLY1305
  68. #undef HAVE_ONE_TIME_AUTH
  69. #define HAVE_ONE_TIME_AUTH
  70. #undef HAVE_CHACHA
  71. #define HAVE_CHACHA
  72. #undef HAVE_HASHDRBG
  73. #define HAVE_HASHDRBG
  74. #undef NO_FILESYSTEM
  75. #define NO_FILESYSTEM
  76. #undef HAVE_TLS_EXTENSIONS
  77. #define HAVE_TLS_EXTENSIONS
  78. #undef HAVE_SUPPORTED_CURVES
  79. #define HAVE_SUPPORTED_CURVES
  80. #undef HAVE_EXTENDED_MASTER
  81. #define HAVE_EXTENDED_MASTER
  82. #undef NO_PSK
  83. #define NO_PSK
  84. #undef NO_MD4
  85. #define NO_MD4
  86. #undef NO_PWDBASED
  87. #define NO_PWDBASED
  88. #undef USE_FAST_MATH
  89. #define USE_FAST_MATH
  90. #undef WOLFSSL_NO_ASM
  91. #define WOLFSSL_NO_ASM
  92. #undef WOLFSSL_X86_BUILD
  93. #define WOLFSSL_X86_BUILD
  94. #undef WC_NO_ASYNC_THREADING
  95. #define WC_NO_ASYNC_THREADING
  96. #undef NO_DES3
  97. #define NO_DES3
  98. #undef WOLFSSL_STATIC_MEMORY
  99. #define WOLFSSL_STATIC_MEMORY
  100. #if 0
  101. #undef WOLFSSL_HAVE_SP_RSA
  102. #define WOLFSSL_HAVE_SP_RSA
  103. #undef WOLFSSL_HAVE_SP_DH
  104. #define WOLFSSL_HAVE_SP_DH
  105. #undef WOLFSSL_HAVE_SP_ECC
  106. #define WOLFSSL_HAVE_SP_ECC
  107. #endif
  108. #if defined(CONFIG_WOLFSSL_DEBUG)
  109. #undef DEBUG_WOLFSSL
  110. #define DEBUG_WOLFSSL
  111. #endif
  112. #ifdef __cplusplus
  113. }
  114. #endif
  115. #endif /* CONFIG_WOLFSSL_SETTINGS_FILE */
  116. #endif /* CONFIG_WOLFSSL */
  117. #endif /* USER_SETTINGS_H */