opensslfeatures.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. /* $OpenBSD: opensslfeatures.h,v 1.43 2024/03/02 11:25:46 tb Exp $ */
  2. /*
  3. * Feature flags for LibreSSL... so you can actually tell when things
  4. * are enabled, rather than not being able to tell when things are
  5. * enabled (or possibly not yet not implemented, or removed!).
  6. */
  7. #define LIBRESSL_HAS_QUIC
  8. #define LIBRESSL_HAS_TLS1_3
  9. #define LIBRESSL_HAS_DTLS1_2
  10. /*
  11. * Used for compatibility with compilers lacking __attribute__
  12. */
  13. #if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
  14. #define __attribute__(a)
  15. #endif
  16. #define OPENSSL_THREADS
  17. #define OPENSSL_NO_BUF_FREELISTS
  18. #define OPENSSL_NO_DEPRECATED
  19. #define OPENSSL_NO_EC2M
  20. #define OPENSSL_NO_GMP
  21. #define OPENSSL_NO_JPAKE
  22. #define OPENSSL_NO_KRB5
  23. #define OPENSSL_NO_RSAX
  24. #define OPENSSL_NO_SHA0
  25. #define OPENSSL_NO_SSL2
  26. #define OPENSSL_NO_STORE
  27. /*
  28. * OPENSSL_NO_* flags that currently appear in OpenSSL.
  29. */
  30. /* #define OPENSSL_NO_AFALGENG */
  31. /* #define OPENSSL_NO_ALGORITHMS */
  32. /* #define OPENSSL_NO_ARIA */
  33. /* #define OPENSSL_NO_ASM */
  34. #define OPENSSL_NO_ASYNC
  35. /* #define OPENSSL_NO_AUTOALGINIT */
  36. /* #define OPENSSL_NO_AUTOERRINIT */
  37. /* #define OPENSSL_NO_AUTOLOAD_CONFIG */
  38. /* #define OPENSSL_NO_BF */
  39. #define OPENSSL_NO_BLAKE2
  40. #define OPENSSL_NO_BROTLI
  41. /* #define OPENSSL_NO_BUILTIN_OVERFLOW_CHECKING */
  42. /* #define OPENSSL_NO_CAMELLIA */
  43. #define OPENSSL_NO_CAPIENG
  44. /* #define OPENSSL_NO_CAST */
  45. /* #define OPENSSL_NO_CHACHA */
  46. /* #define OPENSSL_NO_CMAC */
  47. /* #define OPENSSL_NO_CMP */
  48. /* #define OPENSSL_NO_CMS */
  49. #define OPENSSL_NO_COMP
  50. /* #define OPENSSL_NO_COMP_ALG */
  51. /* #define OPENSSL_NO_CRMF */
  52. /* #define OPENSSL_NO_CRYPTO_MDEBUG */
  53. /* #define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE */
  54. /* #define OPENSSL_NO_CT */
  55. /* #define OPENSSL_NO_DECC_INIT */
  56. /* #define OPENSSL_NO_DES */
  57. /* #define OPENSSL_NO_DEVCRYPTOENG */
  58. /* #define OPENSSL_NO_DGRAM */
  59. /* #define OPENSSL_NO_DH */
  60. /* #define OPENSSL_NO_DSA */
  61. #define OPENSSL_NO_DSO
  62. /* #define OPENSSL_NO_DTLS */
  63. #define OPENSSL_NO_DTLS1
  64. #ifndef LIBRESSL_HAS_DTLS1_2
  65. #define OPENSSL_NO_DTLS1_2
  66. #endif
  67. /* #define OPENSSL_NO_DTLS1_2_METHOD */
  68. /* #define OPENSSL_NO_DTLS1_METHOD */
  69. #define OPENSSL_NO_DYNAMIC_ENGINE
  70. /* #define OPENSSL_NO_EC */
  71. #define OPENSSL_NO_EC_NISTP_64_GCC_128
  72. #define OPENSSL_NO_EGD
  73. #define OPENSSL_NO_ENGINE
  74. /* #define OPENSSL_NO_ERR */
  75. /* #define OPENSSL_NO_FILENAMES */
  76. /* #define OPENSSL_NO_FUZZ_AFL */
  77. /* #define OPENSSL_NO_FUZZ_LIBFUZZER */
  78. #define OPENSSL_NO_GOST
  79. #define OPENSSL_NO_HEARTBEATS
  80. /* #define OPENSSL_NO_HW */
  81. /* #define OPENSSL_NO_HW_PADLOCK */
  82. /* #define OPENSSL_NO_IDEA */
  83. /* #define OPENSSL_NO_INLINE_ASM */
  84. /* #define OPENSSL_NO_KEYPARAMS */
  85. #define OPENSSL_NO_KTLS
  86. /* #define OPENSSL_NO_KTLS_RX */
  87. /* #define OPENSSL_NO_KTLS_ZC_TX */
  88. /* #define OPENSSL_NO_LOCALE */
  89. #define OPENSSL_NO_MD2
  90. /* #define OPENSSL_NO_MD4 */
  91. /* #define OPENSSL_NO_MD5 */
  92. #define OPENSSL_NO_MDC2
  93. /* #define OPENSSL_NO_MULTIBLOCK */
  94. /* #define OPENSSL_NO_NEXTPROTONEG */
  95. /* #define OPENSSL_NO_OCB */
  96. /* #define OPENSSL_NO_OCSP */
  97. /* #define OPENSSL_NO_PADLOCKENG */
  98. /* #define OPENSSL_NO_PINSHARED */
  99. /* #define OPENSSL_NO_POLY1305 */
  100. /* #define OPENSSL_NO_POSIX_IO */
  101. #define OPENSSL_NO_PSK
  102. #define OPENSSL_NO_QUIC
  103. /* #define OPENSSL_NO_RC2 */
  104. /* #define OPENSSL_NO_RC4 */
  105. #define OPENSSL_NO_RC5
  106. /* #define OPENSSL_NO_RDRAND */
  107. /* #define OPENSSL_NO_RFC3779 */
  108. /* #define OPENSSL_NO_RMD160 */
  109. /* #define OPENSSL_NO_RSA */
  110. #define OPENSSL_NO_SCRYPT
  111. #define OPENSSL_NO_SCTP
  112. /* #define OPENSSL_NO_SECURE_MEMORY */
  113. #define OPENSSL_NO_SEED
  114. /* #define OPENSSL_NO_SIPHASH */
  115. /* #define OPENSSL_NO_SIV */
  116. /* #define OPENSSL_NO_SM2 */
  117. /* #define OPENSSL_NO_SM3 */
  118. /* #define OPENSSL_NO_SM4 */
  119. /* #define OPENSSL_NO_SOCK */
  120. #define OPENSSL_NO_SRP
  121. /* #define OPENSSL_NO_SRTP */
  122. #define OPENSSL_NO_SSL3
  123. #define OPENSSL_NO_SSL3_METHOD
  124. #define OPENSSL_NO_SSL_TRACE
  125. /* #define OPENSSL_NO_STATIC_ENGINE */
  126. /* #define OPENSSL_NO_STDIO */
  127. /* #define OPENSSL_NO_THREAD_POOL */
  128. /* #define OPENSSL_NO_TLS */
  129. #define OPENSSL_NO_TLS1
  130. #define OPENSSL_NO_TLS1_1
  131. #define OPENSSL_NO_TLS1_METHOD
  132. #define OPENSSL_NO_TLS1_1_METHOD
  133. /* #define OPENSSL_NO_TLS1_2 */
  134. /* #define OPENSSL_NO_TLS1_2_METHOD */
  135. #ifndef LIBRESSL_HAS_TLS1_3
  136. #define OPENSSL_NO_TLS1_3
  137. #endif
  138. /* #define OPENSSL_NO_TLS1_METHOD */
  139. /* #define OPENSSL_NO_TRACE */
  140. /* #define OPENSSL_NO_TS */
  141. /* #define OPENSSL_NO_UI_CONSOLE */
  142. /* #define OPENSSL_NO_UNIT_TEST */
  143. /* #define OPENSSL_NO_UNIX_SOCK */
  144. /* #define OPENSSL_NO_WEAK_SSL_CIPHERS */
  145. /* #define OPENSSL_NO_WHIRLPOOL */
  146. /* #define OPENSSL_NO_WINSTORE */
  147. #define OPENSSL_NO_ZLIB
  148. /* #define OPENSSL_NO_ZSTD */