1
0

options.h.in 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. /* options.h.in
  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. /* cmake template for options.h */
  22. #ifndef WOLFSSL_OPTIONS_H
  23. #define WOLFSSL_OPTIONS_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. #ifndef WOLFSSL_OPTIONS_IGNORE_SYS
  28. #undef _GNU_SOURCE
  29. #cmakedefine _GNU_SOURCE
  30. #undef _POSIX_THREADS
  31. #cmakedefine _POSIX_THREADS
  32. #endif
  33. #undef ASIO_USE_WOLFSSL
  34. #cmakedefine ASIO_USE_WOLFSSL
  35. #undef BOOST_ASIO_USE_WOLFSSL
  36. #cmakedefine BOOST_ASIO_USE_WOLFSSL
  37. #undef CURVE25519_SMALL
  38. #cmakedefine CURVE25519_SMALL
  39. #undef CURVE448_SMALL
  40. #cmakedefine CURVE448_SMALL
  41. #undef DEBUG
  42. #cmakedefine DEBUG
  43. #undef DEBUG_WOLFSSL
  44. #cmakedefine DEBUG_WOLFSSL
  45. #undef ECC_SHAMIR
  46. #cmakedefine ECC_SHAMIR
  47. #undef ECC_TIMING_RESISTANT
  48. #cmakedefine ECC_TIMING_RESISTANT
  49. #undef ED25519_SMALL
  50. #cmakedefine ED25519_SMALL
  51. #undef ED448_SMALL
  52. #cmakedefine ED448_SMALL
  53. #undef GCM_SMALL
  54. #cmakedefine GCM_SMALL
  55. #undef GCM_TABLE
  56. #cmakedefine GCM_TABLE
  57. #undef GCM_TABLE_4BIT
  58. #cmakedefine GCM_TABLE_4BIT
  59. #undef GCM_WORD32
  60. #cmakedefine GCM_WORD32
  61. #undef HAVE___UINT128_T
  62. #cmakedefine HAVE___UINT128_T
  63. #undef HAVE_AES_KEYWRAP
  64. #cmakedefine HAVE_AES_KEYWRAP
  65. #undef HAVE_AESCCM
  66. #cmakedefine HAVE_AESCCM
  67. #undef HAVE_AESGCM
  68. #cmakedefine HAVE_AESGCM
  69. #undef HAVE_ALPN
  70. #cmakedefine HAVE_ALPN
  71. #undef HAVE_ARIA
  72. #cmakedefine HAVE_ARIA
  73. #undef HAVE_CERTIFICATE_STATUS_REQUEST
  74. #cmakedefine HAVE_CERTIFICATE_STATUS_REQUEST
  75. #undef HAVE_CERTIFICATE_STATUS_REQUEST_V2
  76. #cmakedefine HAVE_CERTIFICATE_STATUS_REQUEST_V2
  77. #undef HAVE_CHACHA
  78. #cmakedefine HAVE_CHACHA
  79. #undef HAVE_CRL
  80. #cmakedefine HAVE_CRL
  81. #undef HAVE_CRL_IO
  82. #cmakedefine HAVE_CRL_IO
  83. #undef HAVE_CURVE25519
  84. #cmakedefine HAVE_CURVE25519
  85. #undef HAVE_CURVE448
  86. #cmakedefine HAVE_CURVE448
  87. #undef HAVE_DH_DEFAULT_PARAMS
  88. #cmakedefine HAVE_DH_DEFAULT_PARAMS
  89. #undef HAVE_ECC
  90. #cmakedefine HAVE_ECC
  91. #undef HAVE_ECH
  92. #cmakedefine HAVE_ECH
  93. #undef HAVE_ED25519
  94. #cmakedefine HAVE_ED25519
  95. #undef HAVE_ED448
  96. #cmakedefine HAVE_ED448
  97. #undef HAVE_ENCRYPT_THEN_MAC
  98. #cmakedefine HAVE_ENCRYPT_THEN_MAC
  99. #undef HAVE_EX_DATA
  100. #cmakedefine HAVE_EX_DATA
  101. #undef HAVE_EXTENDED_MASTER
  102. #cmakedefine HAVE_EXTENDED_MASTER
  103. #undef HAVE_FFDHE_2048
  104. #cmakedefine HAVE_FFDHE_2048
  105. #undef HAVE_HASHDRBG
  106. #cmakedefine HAVE_HASHDRBG
  107. #undef HAVE_HKDF
  108. #cmakedefine HAVE_HKDF
  109. #undef HAVE_HPKE
  110. #cmakedefine HAVE_HPKE
  111. #undef HAVE_KEYING_MATERIAL
  112. #cmakedefine HAVE_KEYING_MATERIAL
  113. #undef HAVE_LIBOQS
  114. #cmakedefine HAVE_LIBOQS
  115. #undef HAVE_MAX_FRAGMENT
  116. #cmakedefine HAVE_MAX_FRAGMENT
  117. #undef HAVE_OCSP
  118. #cmakedefine HAVE_OCSP
  119. #undef HAVE_ONE_TIME_AUTH
  120. #cmakedefine HAVE_ONE_TIME_AUTH
  121. #undef HAVE_PKCS7
  122. #cmakedefine HAVE_PKCS7
  123. #undef HAVE_POLY1305
  124. #cmakedefine HAVE_POLY1305
  125. #undef HAVE_PTHREAD
  126. #cmakedefine HAVE_PTHREAD
  127. #undef HAVE_REPRODUCIBLE_BUILD
  128. #cmakedefine HAVE_REPRODUCIBLE_BUILD
  129. #undef HAVE_SESSION_TICKET
  130. #cmakedefine HAVE_SESSION_TICKET
  131. #undef HAVE_SNI
  132. #cmakedefine HAVE_SNI
  133. #undef HAVE_SUPPORTED_CURVES
  134. #cmakedefine HAVE_SUPPORTED_CURVES
  135. #undef HAVE_THREAD_LS
  136. #cmakedefine HAVE_THREAD_LS
  137. #undef HAVE_TLS_EXTENSIONS
  138. #cmakedefine HAVE_TLS_EXTENSIONS
  139. #undef HAVE_TRUNCATED_HMAC
  140. #cmakedefine HAVE_TRUNCATED_HMAC
  141. #undef HAVE_TRUSTED_CA
  142. #cmakedefine HAVE_TRUSTED_CA
  143. #undef HAVE_X963_KDF
  144. #cmakedefine HAVE_X963_KDF
  145. #undef NO_AES
  146. #cmakedefine NO_AES
  147. #undef NO_AES_CBC
  148. #cmakedefine NO_AES_CBC
  149. #undef NO_ASN
  150. #cmakedefine NO_ASN
  151. #undef NO_ASN_CRYPT
  152. #cmakedefine NO_ASN_CRYPT
  153. #undef NO_BIG_INT
  154. #cmakedefine NO_BIG_INT
  155. #undef NO_CERTS
  156. #cmakedefine NO_CERTS
  157. #undef NO_CHACHA_ASM
  158. #cmakedefine NO_CHACHA_ASM
  159. #undef NO_CODING
  160. #cmakedefine NO_CODING
  161. #undef NO_CURVED25519_128BIT
  162. #cmakedefine NO_CURVED25519_128BIT
  163. #undef NO_CURVED448_128BIT
  164. #cmakedefine NO_CURVED448_128BIT
  165. #undef NO_DES3
  166. #cmakedefine NO_DES3
  167. #undef NO_DH
  168. #cmakedefine NO_DH
  169. #undef NO_DSA
  170. #cmakedefine NO_DSA
  171. #undef NO_ERROR_QUEUE
  172. #cmakedefine NO_ERROR_QUEUE
  173. #undef NO_ERROR_STRINGS
  174. #cmakedefine NO_ERROR_STRINGS
  175. #undef NO_FILESYSTEM
  176. #cmakedefine NO_FILESYSTEM
  177. #undef NO_INLINE
  178. #cmakedefine NO_INLINE
  179. #undef NO_MD4
  180. #cmakedefine NO_MD4
  181. #undef NO_MD5
  182. #cmakedefine NO_MD5
  183. #undef NO_OLD_RNGNAME
  184. #cmakedefine NO_OLD_RNGNAME
  185. #undef NO_OLD_SHA_NAMES
  186. #cmakedefine NO_OLD_SHA_NAMES
  187. #undef NO_OLD_SSL_NAMES
  188. #cmakedefine NO_OLD_SSL_NAMES
  189. #undef NO_OLD_TLS
  190. #cmakedefine NO_OLD_TLS
  191. #undef NO_OLD_WC_NAMES
  192. #cmakedefine NO_OLD_WC_NAMES
  193. #undef NO_PKCS12
  194. #cmakedefine NO_PKCS12
  195. #undef NO_PSK
  196. #cmakedefine NO_PSK
  197. #undef NO_PWDBASED
  198. #cmakedefine NO_PWDBASED
  199. #undef NO_RC4
  200. #cmakedefine NO_RC4
  201. #undef NO_RSA
  202. #cmakedefine NO_RSA
  203. #undef NO_SESSION_CACHE_REF
  204. #cmakedefine NO_SESSION_CACHE_REF
  205. #undef NO_SHA
  206. #cmakedefine NO_SHA
  207. #undef NO_WOLFSSL_MEMORY
  208. #cmakedefine NO_WOLFSSL_MEMORY
  209. #undef OPENSSL_ALL
  210. #cmakedefine OPENSSL_ALL
  211. #undef OPENSSL_EXTRA
  212. #cmakedefine OPENSSL_EXTRA
  213. #undef OPENSSL_NO_SSL2
  214. #cmakedefine OPENSSL_NO_SSL2
  215. #undef OPENSSL_NO_SSL3
  216. #cmakedefine OPENSSL_NO_SSL3
  217. #undef SSL_TXT_TLSV1_2
  218. #cmakedefine SSL_TXT_TLSV1_2
  219. #undef TFM_ECC256
  220. #cmakedefine TFM_ECC256
  221. #undef TFM_NO_ASM
  222. #cmakedefine TFM_NO_ASM
  223. #undef TFM_TIMING_RESISTANT
  224. #cmakedefine TFM_TIMING_RESISTANT
  225. #undef USE_FAST_MATH
  226. #cmakedefine USE_FAST_MATH
  227. #undef WC_16BIT_CPU
  228. #cmakedefine WC_16BIT_CPU
  229. #undef WC_ECC_NONBLOCK
  230. #cmakedefine WC_ECC_NONBLOCK
  231. #undef WC_NO_ASYNC_THREADING
  232. #cmakedefine WC_NO_ASYNC_THREADING
  233. #undef WC_NO_HARDEN
  234. #cmakedefine WC_NO_HARDEN
  235. #undef WC_NO_HASHDRBG
  236. #cmakedefine WC_NO_HASHDRBG
  237. #undef WC_NO_RNG
  238. #cmakedefine WC_NO_RNG
  239. #undef WC_NO_RSA_OAEP
  240. #cmakedefine WC_NO_RSA_OAEP
  241. #undef WC_RSA_BLINDING
  242. #cmakedefine WC_RSA_BLINDING
  243. #undef WC_RSA_NO_PADDING
  244. #cmakedefine WC_RSA_NO_PADDING
  245. #undef WC_RSA_PSS
  246. #cmakedefine WC_RSA_PSS
  247. #undef WOLF_CRYPTO_CB
  248. #cmakedefine WOLF_CRYPTO_CB
  249. #undef WOLFSSL_AARCH64_BUILD
  250. #cmakedefine WOLFSSL_AARCH64_BUILD
  251. #undef WOLFSSL_AES_CFB
  252. #cmakedefine WOLFSSL_AES_CFB
  253. #undef WOLFSSL_AES_COUNTER
  254. #cmakedefine WOLFSSL_AES_COUNTER
  255. #undef WOLFSSL_AES_DIRECT
  256. #cmakedefine WOLFSSL_AES_DIRECT
  257. #undef WOLFSSL_AES_OFB
  258. #cmakedefine WOLFSSL_AES_OFB
  259. #undef WOLFSSL_AES_SIV
  260. #cmakedefine WOLFSSL_AES_SIV
  261. #undef WOLFSSL_ALT_CERT_CHAINS
  262. #cmakedefine WOLFSSL_ALT_CERT_CHAINS
  263. #undef WOLFSSL_APPLE_NATIVE_CERT_VALIDATION
  264. #cmakedefine WOLFSSL_APPLE_NATIVE_CERT_VALIDATION
  265. #undef WOLFSSL_ASIO
  266. #cmakedefine WOLFSSL_ASIO
  267. #undef WOLFSSL_BASE64_ENCODE
  268. #cmakedefine WOLFSSL_BASE64_ENCODE
  269. #undef WOLFSSL_CAAM
  270. #cmakedefine WOLFSSL_CAAM
  271. #undef WOLFSSL_CERT_EXT
  272. #cmakedefine WOLFSSL_CERT_EXT
  273. #undef WOLFSSL_CERT_GEN
  274. #cmakedefine WOLFSSL_CERT_GEN
  275. #undef WOLFSSL_CERT_GEN_CACHE
  276. #cmakedefine WOLFSSL_CERT_GEN_CACHE
  277. #undef WOLFSSL_CERT_NAME_ALL
  278. #cmakedefine WOLFSSL_CERT_NAME_ALL
  279. #undef WOLFSSL_CERT_REQ
  280. #cmakedefine WOLFSSL_CERT_REQ
  281. #undef WOLFSSL_CMAC
  282. #cmakedefine WOLFSSL_CMAC
  283. #undef WOLFSSL_DES_ECB
  284. #cmakedefine WOLFSSL_DES_ECB
  285. #undef WOLFSSL_DH_CONST
  286. #cmakedefine WOLFSSL_DH_CONST
  287. #undef WOLFSSL_DTLS
  288. #cmakedefine WOLFSSL_DTLS
  289. #undef WOLFSSL_DTLS_CID
  290. #cmakedefine WOLFSSL_DTLS_CID
  291. #undef WOLFSSL_DTLS13
  292. #cmakedefine WOLFSSL_DTLS13
  293. #undef WOLFSSL_EITHER_SIDE
  294. #cmakedefine WOLFSSL_EITHER_SIDE
  295. #undef WOLFSSL_ENCRYPTED_KEYS
  296. #cmakedefine WOLFSSL_ENCRYPTED_KEYS
  297. #undef WOLFSSL_ERROR_CODE_OPENSSL
  298. #cmakedefine WOLFSSL_ERROR_CODE_OPENSSL
  299. #undef WOLFSSL_IP_ALT_NAME
  300. #cmakedefine WOLFSSL_IP_ALT_NAME
  301. #undef WOLFSSL_KEY_GEN
  302. #cmakedefine WOLFSSL_KEY_GEN
  303. #undef WOLFSSL_NO_ASM
  304. #cmakedefine WOLFSSL_NO_ASM
  305. #undef WOLFSSL_NO_SHAKE128
  306. #cmakedefine WOLFSSL_NO_SHAKE128
  307. #undef WOLFSSL_NO_SHAKE256
  308. #cmakedefine WOLFSSL_NO_SHAKE256
  309. #undef WOLFSSL_NO_TLS12
  310. #cmakedefine WOLFSSL_NO_TLS12
  311. #undef WOLFSSL_POST_HANDSHAKE_AUTH
  312. #cmakedefine WOLFSSL_POST_HANDSHAKE_AUTH
  313. #undef WOLFSSL_PSS_LONG_SALT
  314. #cmakedefine WOLFSSL_PSS_LONG_SALT
  315. #undef WOLFSSL_PUBLIC_MP
  316. #cmakedefine WOLFSSL_PUBLIC_MP
  317. #undef WOLFSSL_QUIC
  318. #cmakedefine WOLFSSL_QUIC
  319. #undef WOLFSSL_SEND_HRR_COOKIE
  320. #cmakedefine WOLFSSL_SEND_HRR_COOKIE
  321. #undef WOLFSSL_SHA224
  322. #cmakedefine WOLFSSL_SHA224
  323. #undef WOLFSSL_SHA3
  324. #cmakedefine WOLFSSL_SHA3
  325. #undef WOLFSSL_SHA3_SMALL
  326. #cmakedefine WOLFSSL_SHA3_SMALL
  327. #undef WOLFSSL_SHA384
  328. #cmakedefine WOLFSSL_SHA384
  329. #undef WOLFSSL_SHA512
  330. #cmakedefine WOLFSSL_SHA512
  331. #undef WOLFSSL_SHAKE128
  332. #cmakedefine WOLFSSL_SHAKE128
  333. #undef WOLFSSL_SHAKE256
  334. #cmakedefine WOLFSSL_SHAKE256
  335. #undef WOLFSSL_SRTP
  336. #cmakedefine WOLFSSL_SRTP
  337. #undef WOLFSSL_SYS_CA_CERTS
  338. #cmakedefine WOLFSSL_SYS_CA_CERTS
  339. #undef WOLFSSL_TICKET_HAVE_ID
  340. #cmakedefine WOLFSSL_TICKET_HAVE_ID
  341. #undef WOLFSSL_TICKET_NONCE_MALLOC
  342. #cmakedefine WOLFSSL_TICKET_NONCE_MALLOC
  343. #undef WOLFSSL_TLS13
  344. #cmakedefine WOLFSSL_TLS13
  345. #undef WOLFSSL_USE_ALIGN
  346. #cmakedefine WOLFSSL_USE_ALIGN
  347. #undef WOLFSSL_USER_SETTINGS_ASM
  348. #cmakedefine WOLFSSL_USER_SETTINGS_ASM
  349. #undef WOLFSSL_W64_WRAPPER
  350. #cmakedefine WOLFSSL_W64_WRAPPER
  351. #undef WOLFSSL_WOLFSSH
  352. #cmakedefine WOLFSSL_WOLFSSH
  353. #undef WOLFSSL_X86_64_BUILD
  354. #cmakedefine WOLFSSL_X86_64_BUILD
  355. #undef NO_DES3_TLS_SUITES
  356. #cmakedefine NO_DES3_TLS_SUITES
  357. #undef WOLFSSL_EXPERIMENTAL_SETTINGS
  358. #cmakedefine WOLFSSL_EXPERIMENTAL_SETTINGS
  359. #undef WOLFSSL_HAVE_KYBER
  360. #cmakedefine WOLFSSL_HAVE_KYBER
  361. #undef WOLFSSL_WC_KYBER
  362. #cmakedefine WOLFSSL_WC_KYBER
  363. #undef NO_WOLFSSL_STUB
  364. #cmakedefine NO_WOLFSSL_STUB
  365. #ifdef __cplusplus
  366. }
  367. #endif
  368. #endif /* WOLFSSL_OPTIONS_H */