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