1
0

user_settings.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* user_setting.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 WOLFSSL_USER_SETTINGS_H_
  22. #define WOLFSSL_USER_SETTINGS_H_
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. #define RTTHREAD
  27. /* You can select one or all of the following tests */
  28. #define WOLFSSL_WOLFCRYPT_TEST
  29. #define WOLFSSL_BENCHMARK_TEST
  30. #define WOLFSSL_CLIENT_TEST
  31. #define WOLFSSL_SERVER_TEST
  32. #define USE_TEST_GENSEED
  33. #define NO_DEV_RANDOM
  34. #define HAVE_PKCS7
  35. #define HAVE_AES_KEYWRAP
  36. #define HAVE_X963_KDF
  37. #define WOLFSSL_AES_DIRECT
  38. /* adjust CURRENT_UNIX_TS to seconds since Jan 01 1970. (UTC)
  39. You can get the current time from https://www.unixtimestamp.com/
  40. */
  41. #define CURRENT_UNIX_TS 1542605837UL
  42. /* When using Windows simulator, you must define USE_WINDOWS_API for test.h to build */
  43. #ifdef _WIN32
  44. #define USE_WINDOWS_API
  45. #endif
  46. #define NO_FILESYSTEM
  47. #define SIZEOF_LONG_LONG 8
  48. /* prevents from including multiple definition of main() */
  49. #define NO_MAIN_DRIVER
  50. #define NO_TESTSUITE_MAIN_DRIVER
  51. /* includes certificate test buffers via header files */
  52. #define USE_CERT_BUFFERS_2048
  53. /*use kB instead of mB for embedded benchmarking*/
  54. #define BENCH_EMBEDDED
  55. #define NO_WRITE_TEMP_FILES
  56. #define XSNPRINTF snprintf
  57. #define NO_WRITEV
  58. #define HAVE_AESGCM
  59. #define WOLFSSL_SHA512
  60. #define HAVE_ECC
  61. #define HAVE_CURVE25519
  62. #define CURVE25519_SMALL
  63. #define HAVE_ED25519
  64. #define ED25519_SMALL
  65. #ifdef __cplusplus
  66. } /* extern "C" */
  67. #endif
  68. #endif