1
0

options.h.in 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  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 1
  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 WOLFSSL_CUSTOM_CURVES
  84. #cmakedefine WOLFSSL_CUSTOM_CURVES
  85. #undef HAVE_CURVE25519
  86. #cmakedefine HAVE_CURVE25519
  87. #undef HAVE_CURVE448
  88. #cmakedefine HAVE_CURVE448
  89. #undef HAVE_DH_DEFAULT_PARAMS
  90. #cmakedefine HAVE_DH_DEFAULT_PARAMS
  91. #undef HAVE_ECC
  92. #cmakedefine HAVE_ECC
  93. #undef HAVE_ECH
  94. #cmakedefine HAVE_ECH
  95. #undef HAVE_ED25519
  96. #cmakedefine HAVE_ED25519
  97. #undef HAVE_ED448
  98. #cmakedefine HAVE_ED448
  99. #undef HAVE_ENCRYPT_THEN_MAC
  100. #cmakedefine HAVE_ENCRYPT_THEN_MAC
  101. #undef HAVE_EX_DATA
  102. #cmakedefine HAVE_EX_DATA
  103. #undef HAVE_EXTENDED_MASTER
  104. #cmakedefine HAVE_EXTENDED_MASTER
  105. #undef HAVE_FFDHE_2048
  106. #cmakedefine HAVE_FFDHE_2048
  107. #undef HAVE_HASHDRBG
  108. #cmakedefine HAVE_HASHDRBG
  109. #undef HAVE_HKDF
  110. #cmakedefine HAVE_HKDF
  111. #undef HAVE_HPKE
  112. #cmakedefine HAVE_HPKE
  113. #undef HAVE_KEYING_MATERIAL
  114. #cmakedefine HAVE_KEYING_MATERIAL
  115. #undef HAVE_LIBOQS
  116. #cmakedefine HAVE_LIBOQS
  117. #undef HAVE_MAX_FRAGMENT
  118. #cmakedefine HAVE_MAX_FRAGMENT
  119. #undef HAVE_OCSP
  120. #cmakedefine HAVE_OCSP
  121. #undef HAVE_ONE_TIME_AUTH
  122. #cmakedefine HAVE_ONE_TIME_AUTH
  123. #undef HAVE_PKCS7
  124. #cmakedefine HAVE_PKCS7
  125. #undef HAVE_POLY1305
  126. #cmakedefine HAVE_POLY1305
  127. #undef HAVE_PTHREAD
  128. #cmakedefine HAVE_PTHREAD 1
  129. #undef HAVE_REPRODUCIBLE_BUILD
  130. #cmakedefine HAVE_REPRODUCIBLE_BUILD
  131. #undef HAVE_SESSION_TICKET
  132. #cmakedefine HAVE_SESSION_TICKET
  133. #undef HAVE_SNI
  134. #cmakedefine HAVE_SNI
  135. #undef HAVE_SUPPORTED_CURVES
  136. #cmakedefine HAVE_SUPPORTED_CURVES
  137. #undef HAVE_THREAD_LS
  138. #cmakedefine HAVE_THREAD_LS
  139. #undef HAVE_TLS_EXTENSIONS
  140. #cmakedefine HAVE_TLS_EXTENSIONS
  141. #undef HAVE_TRUNCATED_HMAC
  142. #cmakedefine HAVE_TRUNCATED_HMAC
  143. #undef HAVE_TRUSTED_CA
  144. #cmakedefine HAVE_TRUSTED_CA
  145. #undef HAVE_X963_KDF
  146. #cmakedefine HAVE_X963_KDF
  147. #undef NO_AES
  148. #cmakedefine NO_AES
  149. #undef NO_AES_CBC
  150. #cmakedefine NO_AES_CBC
  151. #undef NO_ASN
  152. #cmakedefine NO_ASN
  153. #undef NO_ASN_CRYPT
  154. #cmakedefine NO_ASN_CRYPT
  155. #undef NO_BIG_INT
  156. #cmakedefine NO_BIG_INT
  157. #undef NO_CERTS
  158. #cmakedefine NO_CERTS
  159. #undef NO_CHACHA_ASM
  160. #cmakedefine NO_CHACHA_ASM
  161. #undef NO_CODING
  162. #cmakedefine NO_CODING
  163. #undef NO_CURVED25519_128BIT
  164. #cmakedefine NO_CURVED25519_128BIT
  165. #undef NO_CURVED448_128BIT
  166. #cmakedefine NO_CURVED448_128BIT
  167. #undef NO_DES3
  168. #cmakedefine NO_DES3
  169. #undef NO_DH
  170. #cmakedefine NO_DH
  171. #undef NO_DSA
  172. #cmakedefine NO_DSA
  173. #undef NO_ERROR_QUEUE
  174. #cmakedefine NO_ERROR_QUEUE
  175. #undef NO_ERROR_STRINGS
  176. #cmakedefine NO_ERROR_STRINGS
  177. #undef NO_FILESYSTEM
  178. #cmakedefine NO_FILESYSTEM
  179. #undef NO_INLINE
  180. #cmakedefine NO_INLINE
  181. #undef NO_MD4
  182. #cmakedefine NO_MD4
  183. #undef NO_MD5
  184. #cmakedefine NO_MD5
  185. #undef NO_OLD_RNGNAME
  186. #cmakedefine NO_OLD_RNGNAME
  187. #undef NO_OLD_SHA_NAMES
  188. #cmakedefine NO_OLD_SHA_NAMES
  189. #undef NO_OLD_SSL_NAMES
  190. #cmakedefine NO_OLD_SSL_NAMES
  191. #undef NO_OLD_TLS
  192. #cmakedefine NO_OLD_TLS
  193. #undef NO_OLD_WC_NAMES
  194. #cmakedefine NO_OLD_WC_NAMES
  195. #undef NO_PKCS12
  196. #cmakedefine NO_PKCS12
  197. #undef NO_PSK
  198. #cmakedefine NO_PSK
  199. #undef NO_PWDBASED
  200. #cmakedefine NO_PWDBASED
  201. #undef NO_RC4
  202. #cmakedefine NO_RC4
  203. #undef NO_RSA
  204. #cmakedefine NO_RSA
  205. #undef NO_SESSION_CACHE_REF
  206. #cmakedefine NO_SESSION_CACHE_REF
  207. #undef NO_SHA
  208. #cmakedefine NO_SHA
  209. #undef NO_WOLFSSL_MEMORY
  210. #cmakedefine NO_WOLFSSL_MEMORY
  211. #undef OPENSSL_ALL
  212. #cmakedefine OPENSSL_ALL
  213. #undef OPENSSL_EXTRA
  214. #cmakedefine OPENSSL_EXTRA
  215. #undef OPENSSL_NO_SSL2
  216. #cmakedefine OPENSSL_NO_SSL2
  217. #undef OPENSSL_NO_SSL3
  218. #cmakedefine OPENSSL_NO_SSL3
  219. #undef SSL_TXT_TLSV1_2
  220. #cmakedefine SSL_TXT_TLSV1_2
  221. #undef TFM_ECC256
  222. #cmakedefine TFM_ECC256
  223. #undef TFM_NO_ASM
  224. #cmakedefine TFM_NO_ASM
  225. #undef TFM_TIMING_RESISTANT
  226. #cmakedefine TFM_TIMING_RESISTANT
  227. #undef USE_FAST_MATH
  228. #cmakedefine USE_FAST_MATH
  229. #undef WC_16BIT_CPU
  230. #cmakedefine WC_16BIT_CPU
  231. #undef WC_ECC_NONBLOCK
  232. #cmakedefine WC_ECC_NONBLOCK
  233. #undef WC_NO_ASYNC_THREADING
  234. #cmakedefine WC_NO_ASYNC_THREADING
  235. #undef WC_NO_HARDEN
  236. #cmakedefine WC_NO_HARDEN
  237. #undef WC_NO_HASHDRBG
  238. #cmakedefine WC_NO_HASHDRBG
  239. #undef WC_NO_RNG
  240. #cmakedefine WC_NO_RNG
  241. #undef WC_NO_RSA_OAEP
  242. #cmakedefine WC_NO_RSA_OAEP
  243. #undef WC_RSA_BLINDING
  244. #cmakedefine WC_RSA_BLINDING
  245. #undef WC_RSA_NO_PADDING
  246. #cmakedefine WC_RSA_NO_PADDING
  247. #undef WC_RSA_PSS
  248. #cmakedefine WC_RSA_PSS
  249. #undef WOLF_CRYPTO_CB
  250. #cmakedefine WOLF_CRYPTO_CB
  251. #undef WOLFSSL_AARCH64_BUILD
  252. #cmakedefine WOLFSSL_AARCH64_BUILD
  253. #undef WOLFSSL_AES_CFB
  254. #cmakedefine WOLFSSL_AES_CFB
  255. #undef WOLFSSL_AES_COUNTER
  256. #cmakedefine WOLFSSL_AES_COUNTER
  257. #undef WOLFSSL_AES_DIRECT
  258. #cmakedefine WOLFSSL_AES_DIRECT
  259. #undef WOLFSSL_AES_OFB
  260. #cmakedefine WOLFSSL_AES_OFB
  261. #undef WOLFSSL_AES_SIV
  262. #cmakedefine WOLFSSL_AES_SIV
  263. #undef WOLFSSL_ALT_CERT_CHAINS
  264. #cmakedefine WOLFSSL_ALT_CERT_CHAINS
  265. #undef WOLFSSL_APPLE_NATIVE_CERT_VALIDATION
  266. #cmakedefine WOLFSSL_APPLE_NATIVE_CERT_VALIDATION
  267. #undef WOLFSSL_ASIO
  268. #cmakedefine WOLFSSL_ASIO
  269. #undef WOLFSSL_BASE64_ENCODE
  270. #cmakedefine WOLFSSL_BASE64_ENCODE
  271. #undef WOLFSSL_CAAM
  272. #cmakedefine WOLFSSL_CAAM
  273. #undef WOLFSSL_CERT_EXT
  274. #cmakedefine WOLFSSL_CERT_EXT
  275. #undef WOLFSSL_CERT_GEN
  276. #cmakedefine WOLFSSL_CERT_GEN
  277. #undef WOLFSSL_CERT_GEN_CACHE
  278. #cmakedefine WOLFSSL_CERT_GEN_CACHE
  279. #undef WOLFSSL_CERT_NAME_ALL
  280. #cmakedefine WOLFSSL_CERT_NAME_ALL
  281. #undef WOLFSSL_CERT_REQ
  282. #cmakedefine WOLFSSL_CERT_REQ
  283. #undef WOLFSSL_CMAC
  284. #cmakedefine WOLFSSL_CMAC
  285. #undef WOLFSSL_DES_ECB
  286. #cmakedefine WOLFSSL_DES_ECB
  287. #undef WOLFSSL_DH_CONST
  288. #cmakedefine WOLFSSL_DH_CONST
  289. #undef WOLFSSL_DTLS
  290. #cmakedefine WOLFSSL_DTLS
  291. #undef WOLFSSL_DTLS_CID
  292. #cmakedefine WOLFSSL_DTLS_CID
  293. #undef WOLFSSL_DTLS13
  294. #cmakedefine WOLFSSL_DTLS13
  295. #undef WOLFSSL_EITHER_SIDE
  296. #cmakedefine WOLFSSL_EITHER_SIDE
  297. #undef WOLFSSL_ENCRYPTED_KEYS
  298. #cmakedefine WOLFSSL_ENCRYPTED_KEYS
  299. #undef WOLFSSL_ERROR_CODE_OPENSSL
  300. #cmakedefine WOLFSSL_ERROR_CODE_OPENSSL
  301. #undef WOLFSSL_IP_ALT_NAME
  302. #cmakedefine WOLFSSL_IP_ALT_NAME
  303. #undef WOLFSSL_KEY_GEN
  304. #cmakedefine WOLFSSL_KEY_GEN
  305. #undef WOLFSSL_NO_ASM
  306. #cmakedefine WOLFSSL_NO_ASM
  307. #undef WOLFSSL_NO_SHAKE128
  308. #cmakedefine WOLFSSL_NO_SHAKE128
  309. #undef WOLFSSL_NO_SHAKE256
  310. #cmakedefine WOLFSSL_NO_SHAKE256
  311. #undef WOLFSSL_NO_TLS12
  312. #cmakedefine WOLFSSL_NO_TLS12
  313. #undef WOLFSSL_POST_HANDSHAKE_AUTH
  314. #cmakedefine WOLFSSL_POST_HANDSHAKE_AUTH
  315. #undef WOLFSSL_PSS_LONG_SALT
  316. #cmakedefine WOLFSSL_PSS_LONG_SALT
  317. #undef WOLFSSL_PUBLIC_MP
  318. #cmakedefine WOLFSSL_PUBLIC_MP
  319. #undef WOLFSSL_QUIC
  320. #cmakedefine WOLFSSL_QUIC
  321. #undef WOLFSSL_SEND_HRR_COOKIE
  322. #cmakedefine WOLFSSL_SEND_HRR_COOKIE
  323. #undef WOLFSSL_SHA224
  324. #cmakedefine WOLFSSL_SHA224
  325. #undef WOLFSSL_SHA3
  326. #cmakedefine WOLFSSL_SHA3
  327. #undef WOLFSSL_SHA3_SMALL
  328. #cmakedefine WOLFSSL_SHA3_SMALL
  329. #undef WOLFSSL_SHA384
  330. #cmakedefine WOLFSSL_SHA384
  331. #undef WOLFSSL_SHA512
  332. #cmakedefine WOLFSSL_SHA512
  333. #undef WOLFSSL_SHAKE128
  334. #cmakedefine WOLFSSL_SHAKE128
  335. #undef WOLFSSL_SHAKE256
  336. #cmakedefine WOLFSSL_SHAKE256
  337. #undef WOLFSSL_SRTP
  338. #cmakedefine WOLFSSL_SRTP
  339. #undef WOLFSSL_SYS_CA_CERTS
  340. #cmakedefine WOLFSSL_SYS_CA_CERTS
  341. #undef WOLFSSL_TICKET_HAVE_ID
  342. #cmakedefine WOLFSSL_TICKET_HAVE_ID
  343. #undef WOLFSSL_TICKET_NONCE_MALLOC
  344. #cmakedefine WOLFSSL_TICKET_NONCE_MALLOC
  345. #undef WOLFSSL_TLS13
  346. #cmakedefine WOLFSSL_TLS13
  347. #undef WOLFSSL_USE_ALIGN
  348. #cmakedefine WOLFSSL_USE_ALIGN
  349. #undef WOLFSSL_USER_SETTINGS_ASM
  350. #cmakedefine WOLFSSL_USER_SETTINGS_ASM
  351. #undef WOLFSSL_W64_WRAPPER
  352. #cmakedefine WOLFSSL_W64_WRAPPER
  353. #undef WOLFSSL_WOLFSSH
  354. #cmakedefine WOLFSSL_WOLFSSH
  355. #undef WOLFSSL_X86_64_BUILD
  356. #cmakedefine WOLFSSL_X86_64_BUILD
  357. #undef NO_DES3_TLS_SUITES
  358. #cmakedefine NO_DES3_TLS_SUITES
  359. #undef WOLFSSL_EXPERIMENTAL_SETTINGS
  360. #cmakedefine WOLFSSL_EXPERIMENTAL_SETTINGS
  361. #undef WOLFSSL_HAVE_KYBER
  362. #cmakedefine WOLFSSL_HAVE_KYBER
  363. #undef WOLFSSL_WC_KYBER
  364. #cmakedefine WOLFSSL_WC_KYBER
  365. #undef NO_WOLFSSL_STUB
  366. #cmakedefine NO_WOLFSSL_STUB
  367. #undef HAVE_ECC_SECPR2
  368. #cmakedefine HAVE_ECC_SECPR2
  369. #undef HAVE_ECC_SECPR3
  370. #cmakedefine HAVE_ECC_SECPR3
  371. #undef HAVE_ECC_BRAINPOOL
  372. #cmakedefine HAVE_ECC_BRAINPOOL
  373. #undef HAVE_ECC_KOBLITZ
  374. #cmakedefine HAVE_ECC_KOBLITZ
  375. #undef HAVE_ECC_CDH
  376. #cmakedefine HAVE_ECC_CDH
  377. #ifdef __cplusplus
  378. }
  379. #endif
  380. #endif /* WOLFSSL_OPTIONS_H */