1
0

options.h.in 9.9 KB

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