user_settings.h 2.7 KB

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