Botan 3.9.0
Crypto and TLS for C&
build.h
Go to the documentation of this file.
1#ifndef BOTAN_BUILD_INFO_H_
2#define BOTAN_BUILD_INFO_H_
3
4/**
5* @file build.h
6* @brief Build configuration for Botan 3.9.0
7*/
8
9/* NOLINTBEGIN(*-macro-usage,*-macro-to-enum) */
10
11/**
12 * @defgroup buildinfo Build Information
13 */
14
15/**
16 * @ingroup buildinfo
17 * @defgroup buildinfo_version Build version information
18 * @{
19 */
20
21/**
22* The major version of the release
23*/
24#define BOTAN_VERSION_MAJOR 3
25
26/**
27* The minor version of the release
28*/
29#define BOTAN_VERSION_MINOR 9
30
31/**
32* The patch version of the release
33*/
34#define BOTAN_VERSION_PATCH 0
35
36/**
37 * Expands to an integer of the form YYYYMMDD if this is an official
38 * release, or 0 otherwise. For instance, 2.19.0, which was released
39 * on January 19, 2022, has a `BOTAN_VERSION_DATESTAMP` of 20220119.
40 *
41 * This macro is deprecated; use version_datestamp from version.h
42 *
43 * TODO(Botan4) remove this
44 */
45#define BOTAN_VERSION_DATESTAMP 0
46
47/**
48 * A string set to the release type
49 *
50 * This macro is deprecated
51 *
52 * TODO(Botan4) remove this
53 */
54#define BOTAN_VERSION_RELEASE_TYPE "unreleased"
55
56/**
57 * A macro expanding to a string that is set to a revision identifier
58 * corresponding to the source, or "unknown" if this could not be
59 * determined. It is set for all official releases.
60 *
61 * This macro is deprecated; use version_vc_revision from version.h
62 *
63 * TODO(Botan4) remove this
64 */
65#define BOTAN_VERSION_VC_REVISION "unknown"
66
67/**
68 * A macro expanding to a string that is set at build time using the
69 * `--distribution-info` option. It allows a packager of the library
70 * to specify any distribution-specific patches. If no value is given
71 * at build time, the value is the string "unspecified".
72 *
73 * This macro is deprecated; use version_distribution_info from version.h
74 *
75 * TODO(Botan4) remove this
76 */
77#define BOTAN_DISTRIBUTION_INFO "unspecified"
78
79/**
80 * @}
81 */
82
83/**
84 * @ingroup buildinfo
85 * @defgroup buildinfo_configuration Build configurations
86 * @{
87 */
88
89
90
91
92#ifndef BOTAN_DLL
93 #define BOTAN_DLL __attribute__((visibility("default")))
94#endif
95
96/* Target identification and feature test macros */
97
98#define BOTAN_TARGET_OS_HAS_FILESYSTEM
99#define BOTAN_TARGET_OS_HAS_THREADS
100
101
102
103/**
104 * @}
105 */
106
107/**
108 * @ingroup buildinfo
109 * @defgroup buildinfo_modules Enabled modules and API versions
110 * @{
111 */
112
113/*
114* Module availability definitions
115*/
116#define BOTAN_HAS_ADLER32 20131128
117#define BOTAN_HAS_AEAD_CCM 20131128
118#define BOTAN_HAS_AEAD_CHACHA20_POLY1305 20180807
119#define BOTAN_HAS_AEAD_EAX 20131128
120#define BOTAN_HAS_AEAD_GCM 20131128
121#define BOTAN_HAS_AEAD_MODES 20131128
122#define BOTAN_HAS_AEAD_OCB 20131128
123#define BOTAN_HAS_AEAD_SIV 20131202
124#define BOTAN_HAS_AES 20131128
125#define BOTAN_HAS_ANSI_X919_MAC 20131128
126#define BOTAN_HAS_ARGON2 20210407
127#define BOTAN_HAS_ARGON2_FMT 20210407
128#define BOTAN_HAS_ARIA 20170415
129#define BOTAN_HAS_ASN1 20201106
130#define BOTAN_HAS_AUTO_RNG 20161126
131#define BOTAN_HAS_AUTO_SEEDING_RNG 20160821
132#define BOTAN_HAS_BASE32_CODEC 20180418
133#define BOTAN_HAS_BASE58_CODEC 20181209
134#define BOTAN_HAS_BASE64_CODEC 20131128
135#define BOTAN_HAS_BCRYPT 20131128
136#define BOTAN_HAS_BIGINT 20240529
137#define BOTAN_HAS_BLAKE2B 20130131
138#define BOTAN_HAS_BLAKE2BMAC 20201123
139#define BOTAN_HAS_BLAKE2S 20231028
140#define BOTAN_HAS_BLOCK_CIPHER 20131128
141#define BOTAN_HAS_BLOWFISH 20180718
142#define BOTAN_HAS_CAMELLIA 20150922
143#define BOTAN_HAS_CASCADE 20131128
144#define BOTAN_HAS_CAST 20131128
145#define BOTAN_HAS_CAST_128 20171203
146#define BOTAN_HAS_CERTSTOR_FLATFILE 20190410
147#define BOTAN_HAS_CERTSTOR_SQL 20160818
148#define BOTAN_HAS_CERTSTOR_SYSTEM 20190411
149#define BOTAN_HAS_CHACHA 20180807
150#define BOTAN_HAS_CHACHA_RNG 20170728
151#define BOTAN_HAS_CIPHER_MODES 20180124
152#define BOTAN_HAS_CIPHER_MODE_PADDING 20131128
153#define BOTAN_HAS_CLASSICMCELIECE 20231023
154#define BOTAN_HAS_CMAC 20131128
155#define BOTAN_HAS_CODEC_FILTERS 20131128
156#define BOTAN_HAS_COMB4P 20131128
157#define BOTAN_HAS_CRC24 20131128
158#define BOTAN_HAS_CRC32 20131128
159#define BOTAN_HAS_CRYPTO_BOX 20131128
160#define BOTAN_HAS_CSHAKE_XOF 20230911
161#define BOTAN_HAS_CTR_BE 20131128
162#define BOTAN_HAS_CURVE_25519 20170621
163#define BOTAN_HAS_DES 20200926
164#define BOTAN_HAS_DIFFIE_HELLMAN 20131128
165#define BOTAN_HAS_DILITHIUM 20221018
166#define BOTAN_HAS_DILITHIUM_AES 20221018
167#define BOTAN_HAS_DILITHIUM_COMMON 20221018
168#define BOTAN_HAS_DILITHIUM_ROUND3 20240916
169#define BOTAN_HAS_DILITHIUM_SHAKE_XOF 20240728
170#define BOTAN_HAS_DLIES 20160713
171#define BOTAN_HAS_DL_GROUP 20131128
172#define BOTAN_HAS_DL_SCHEME 20230101
173#define BOTAN_HAS_DSA 20131128
174#define BOTAN_HAS_ECC_GROUP 20250101
175#define BOTAN_HAS_ECC_KEY 20190801
176#define BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO 20131128
177#define BOTAN_HAS_ECDH 20131128
178#define BOTAN_HAS_ECDSA 20131128
179#define BOTAN_HAS_ECGDSA 20160301
180#define BOTAN_HAS_ECIES 20160128
181#define BOTAN_HAS_ECKCDSA 20160413
182#define BOTAN_HAS_EC_CURVE_GFP 20250101
183#define BOTAN_HAS_EC_HASH_TO_CURVE 20210420
184#define BOTAN_HAS_ED25519 20170607
185#define BOTAN_HAS_ED448 20240223
186#define BOTAN_HAS_ELGAMAL 20131128
187#define BOTAN_HAS_EME_OAEP 20180305
188#define BOTAN_HAS_EME_PKCS1 20190426
189#define BOTAN_HAS_EME_PKCS1v15 20131128
190#define BOTAN_HAS_EME_RAW 20150313
191#define BOTAN_HAS_EMSA_PKCS1 20140118
192#define BOTAN_HAS_EMSA_PSSR 20131128
193#define BOTAN_HAS_EMSA_RAW 20131128
194#define BOTAN_HAS_EMSA_X931 20140118
195#define BOTAN_HAS_ENTROPY_SOURCE 20151120
196#define BOTAN_HAS_FFI 20250506
197#define BOTAN_HAS_FILTERS 20160415
198#define BOTAN_HAS_FPE_FE1 20131128
199#define BOTAN_HAS_FRODOKEM 20230801
200#define BOTAN_HAS_FRODOKEM_AES 20231103
201#define BOTAN_HAS_FRODOKEM_SHAKE 20231114
202#define BOTAN_HAS_GMAC 20160207
203#define BOTAN_HAS_GOST_28147_89 20131128
204#define BOTAN_HAS_GOST_34_10_2001 20131128
205#define BOTAN_HAS_GOST_34_10_2012 20190801
206#define BOTAN_HAS_GOST_34_11 20131128
207#define BOTAN_HAS_HASH 20180112
208#define BOTAN_HAS_HEX_CODEC 20131128
209#define BOTAN_HAS_HKDF 20170927
210#define BOTAN_HAS_HMAC 20131128
211#define BOTAN_HAS_HMAC_DRBG 20140319
212#define BOTAN_HAS_HOTP 20180816
213#define BOTAN_HAS_HSS_LMS 20230925
214#define BOTAN_HAS_HYBRID_KEM 20240425
215#define BOTAN_HAS_IDEA 20131128
216#define BOTAN_HAS_ISO_9796 20161121
217#define BOTAN_HAS_KDF 20250528
218#define BOTAN_HAS_KDF1 20131128
219#define BOTAN_HAS_KDF1_18033 20160128
220#define BOTAN_HAS_KDF2 20131128
221#define BOTAN_HAS_KDF_BASE 20131128
222#define BOTAN_HAS_KECCAK 20131128
223#define BOTAN_HAS_KEX_TO_KEM_ADAPTER 20240504
224#define BOTAN_HAS_KMAC 20230601
225#define BOTAN_HAS_KUZNYECHIK 20230820
226#define BOTAN_HAS_KYBER 20220107
227#define BOTAN_HAS_KYBER_90S 20220107
228#define BOTAN_HAS_KYBER_COMMON 20220107
229#define BOTAN_HAS_KYBER_ROUND3 20240117
230#define BOTAN_HAS_LEGACY_EC_POINT 20250101
231#define BOTAN_HAS_LION 20131128
232#define BOTAN_HAS_MAC 20150626
233#define BOTAN_HAS_MCELIECE 20150922
234#define BOTAN_HAS_MD4 20131128
235#define BOTAN_HAS_MD5 20131128
236#define BOTAN_HAS_MGF1 20140118
237#define BOTAN_HAS_ML_DSA 20240729
238#define BOTAN_HAS_ML_KEM 20240821
239#define BOTAN_HAS_MODES 20150626
240#define BOTAN_HAS_MODE_CBC 20131128
241#define BOTAN_HAS_MODE_CFB 20131128
242#define BOTAN_HAS_MODE_XTS 20131128
243#define BOTAN_HAS_NIST_KEYWRAP 20171119
244#define BOTAN_HAS_NOEKEON 20131128
245#define BOTAN_HAS_NUMBERTHEORY 20201108
246#define BOTAN_HAS_OAEP 20250130
247#define BOTAN_HAS_OCSP 20201106
248#define BOTAN_HAS_OFB 20131128
249#define BOTAN_HAS_PARALLEL_HASH 20131128
250#define BOTAN_HAS_PASSHASH9 20131128
251#define BOTAN_HAS_PASSWORD_HASHING 20210419
252#define BOTAN_HAS_PBKDF 20180902
253#define BOTAN_HAS_PBKDF2 20180902
254#define BOTAN_HAS_PBKDF_BCRYPT 20190531
255#define BOTAN_HAS_PEM_CODEC 20131128
256#define BOTAN_HAS_PGP_S2K 20170527
257#define BOTAN_HAS_PIPE_UNIXFD_IO 20131128
258#define BOTAN_HAS_PKCS11 20160219
259#define BOTAN_HAS_PKCS5_PBES2 20141119
260#define BOTAN_HAS_PKCSV15_ENCRYPTION_PADDING 20250126
261#define BOTAN_HAS_PKCSV15_SIGNATURE_PADDING 20250126
262#define BOTAN_HAS_PK_PADDING 20131128
263#define BOTAN_HAS_POLY1305 20141227
264#define BOTAN_HAS_PROCESSOR_RNG 20200508
265#define BOTAN_HAS_PSK_DB 20171119
266#define BOTAN_HAS_PSS 20250130
267#define BOTAN_HAS_PUBLIC_KEY_CRYPTO 20131128
268#define BOTAN_HAS_RAW_SIGNATURE_PADDING 20250720
269#define BOTAN_HAS_RC4 20131128
270#define BOTAN_HAS_RFC3394_KEYWRAP 20131128
271#define BOTAN_HAS_RFC4880 20210407
272#define BOTAN_HAS_RIPEMD_160 20131128
273#define BOTAN_HAS_ROUGHTIME 20190220
274#define BOTAN_HAS_RSA 20160730
275#define BOTAN_HAS_RSA_SIGNATURE_PADDING 20250720
276#define BOTAN_HAS_SALSA20 20171114
277#define BOTAN_HAS_SCRYPT 20180902
278#define BOTAN_HAS_SEED 20131128
279#define BOTAN_HAS_SERPENT 20131128
280#define BOTAN_HAS_SHA1 20131128
281#define BOTAN_HAS_SHA2_32 20131128
282#define BOTAN_HAS_SHA2_64 20131128
283#define BOTAN_HAS_SHA3 20161018
284#define BOTAN_HAS_SHACAL2 20170813
285#define BOTAN_HAS_SHAKE 20161009
286#define BOTAN_HAS_SHAKE_CIPHER 20161018
287#define BOTAN_HAS_SHAKE_XOF 20230815
288#define BOTAN_HAS_SHA_224 20250130
289#define BOTAN_HAS_SHA_256 20250130
290#define BOTAN_HAS_SHA_384 20250130
291#define BOTAN_HAS_SHA_512 20250130
292#define BOTAN_HAS_SHA_512_256 20250130
293#define BOTAN_HAS_SIPHASH 20150110
294#define BOTAN_HAS_SKEIN_512 20131128
295#define BOTAN_HAS_SLH_DSA_WITH_SHA2 20240806
296#define BOTAN_HAS_SLH_DSA_WITH_SHAKE 20240808
297#define BOTAN_HAS_SM2 20180801
298#define BOTAN_HAS_SM3 20170402
299#define BOTAN_HAS_SM4 20170716
300#define BOTAN_HAS_SODIUM_API 20190615
301#define BOTAN_HAS_SP800_108 20160128
302#define BOTAN_HAS_SP800_56A 20170501
303#define BOTAN_HAS_SP800_56C 20160211
304#define BOTAN_HAS_SPHINCS_PLUS_COMMON 20230426
305#define BOTAN_HAS_SPHINCS_PLUS_SHA2_BASE 20240807
306#define BOTAN_HAS_SPHINCS_PLUS_SHAKE_BASE 20240809
307#define BOTAN_HAS_SPHINCS_PLUS_WITH_SHA2 20230531
308#define BOTAN_HAS_SPHINCS_PLUS_WITH_SHAKE 20230531
309#define BOTAN_HAS_SRP6 20161017
310#define BOTAN_HAS_STATEFUL_RNG 20160819
311#define BOTAN_HAS_STREAM_CIPHER 20131128
312#define BOTAN_HAS_STREEBOG 20170623
313#define BOTAN_HAS_SYSTEM_RNG 20141202
314#define BOTAN_HAS_THREEFISH_512 20131224
315#define BOTAN_HAS_THRESHOLD_SECRET_SHARING 20131128
316#define BOTAN_HAS_TLS 20201128
317#define BOTAN_HAS_TLS_12 20210608
318#define BOTAN_HAS_TLS_13 20241208
319#define BOTAN_HAS_TLS_13_PQC 20241208
320#define BOTAN_HAS_TLS_CBC 20161008
321#define BOTAN_HAS_TLS_SESSION_MANAGER_SQL_DB 20141219
322#define BOTAN_HAS_TLS_V12_PRF 20131128
323#define BOTAN_HAS_TOTP 20180816
324#define BOTAN_HAS_TRUNCATED_HASH 20230215
325#define BOTAN_HAS_TWOFISH 20131128
326#define BOTAN_HAS_WHIRLPOOL 20131128
327#define BOTAN_HAS_X25519 20240412
328#define BOTAN_HAS_X448 20240219
329#define BOTAN_HAS_X509 20201106
330#define BOTAN_HAS_X509_CERTIFICATES 20201106
331#define BOTAN_HAS_X931_SIGNATURE_PADDING 20250720
332#define BOTAN_HAS_X942_PRF 20131128
333#define BOTAN_HAS_XMD 20240404
334#define BOTAN_HAS_XMSS_RFC8391 20201101
335#define BOTAN_HAS_XOF 20230815
336#define BOTAN_HAS_ZFEC 20211211
337
338
339/*
340* Internal module feature definitions
341*
342* These macros have been in the past visible in build.h as feature macros
343* but in the future these will be only visible in an internal header.
344* Applications should not rely on or check for these macros.
345*/
346#define BOTAN_HAS_AES_CRYSTALS_XOF 20230816
347#define BOTAN_HAS_AES_NI 20131128
348#define BOTAN_HAS_AES_VAES 20240803
349#define BOTAN_HAS_AES_VPERM 20190901
350#define BOTAN_HAS_ARGON2_AVX2 20221216
351#define BOTAN_HAS_ARGON2_SSSE3 20220303
352#define BOTAN_HAS_BIGINT_MP 20151225
353#define BOTAN_HAS_BITVECTOR 20241202
354#define BOTAN_HAS_CAMELLIA_GFNI 20250502
355#define BOTAN_HAS_CHACHA_AVX2 20180418
356#define BOTAN_HAS_CHACHA_AVX512 20230101
357#define BOTAN_HAS_CHACHA_SIMD32 20181104
358#define BOTAN_HAS_CPUID 20170917
359#define BOTAN_HAS_CPUID_DETECTION 20250327
360#define BOTAN_HAS_DYNAMIC_LOADER 20160310
361#define BOTAN_HAS_ENTROPY_SRC_GETENTROPY 20170327
362#define BOTAN_HAS_ENTROPY_SRC_RDSEED 20151218
363#define BOTAN_HAS_GHASH 20201002
364#define BOTAN_HAS_GHASH_CLMUL_CPU 20201002
365#define BOTAN_HAS_GHASH_CLMUL_VPERM 20201002
366#define BOTAN_HAS_HASH_ID 20131128
367#define BOTAN_HAS_HTTP_UTIL 20171003
368#define BOTAN_HAS_IDEA_SSE2 20131128
369#define BOTAN_HAS_KECCAK_PERM 20230613
370#define BOTAN_HAS_KECCAK_PERM_BMI2 20230612
371#define BOTAN_HAS_LOCKING_ALLOCATOR 20131128
372#define BOTAN_HAS_MDX_HASH_FUNCTION 20131128
373#define BOTAN_HAS_MEM_POOL 20180309
374#define BOTAN_HAS_NOEKEON_SIMD 20160903
375#define BOTAN_HAS_OS_UTILS 20241202
376#define BOTAN_HAS_PCURVES 20240404
377#define BOTAN_HAS_PCURVES_BRAINPOOL256R1 20240608
378#define BOTAN_HAS_PCURVES_BRAINPOOL384R1 20240608
379#define BOTAN_HAS_PCURVES_BRAINPOOL512R1 20240608
380#define BOTAN_HAS_PCURVES_FRP256V1 20240608
381#define BOTAN_HAS_PCURVES_GENERIC 20250112
382#define BOTAN_HAS_PCURVES_IMPL 20240714
383#define BOTAN_HAS_PCURVES_NUMSP512D1 20240723
384#define BOTAN_HAS_PCURVES_SECP192R1 20240709
385#define BOTAN_HAS_PCURVES_SECP224R1 20240716
386#define BOTAN_HAS_PCURVES_SECP256K1 20240608
387#define BOTAN_HAS_PCURVES_SECP256R1 20240608
388#define BOTAN_HAS_PCURVES_SECP384R1 20240608
389#define BOTAN_HAS_PCURVES_SECP521R1 20240608
390#define BOTAN_HAS_PCURVES_SM2P256V1 20240608
391#define BOTAN_HAS_POLY_DBL 20170927
392#define BOTAN_HAS_PQCRYSTALS 20240228
393#define BOTAN_HAS_RAW_HASH_FN 20230221
394#define BOTAN_HAS_RFC6979_GENERATOR 20140321
395#define BOTAN_HAS_SERPENT_AVX2 20180824
396#define BOTAN_HAS_SERPENT_AVX512 20230101
397#define BOTAN_HAS_SERPENT_SIMD 20160903
398#define BOTAN_HAS_SHA1_AVX2 20250505
399#define BOTAN_HAS_SHA1_SIMD_4X32 20250331
400#define BOTAN_HAS_SHA1_X86_SHA_NI 20170518
401#define BOTAN_HAS_SHA2_32_SIMD 20250402
402#define BOTAN_HAS_SHA2_32_X86 20170518
403#define BOTAN_HAS_SHA2_32_X86_AVX2 20250402
404#define BOTAN_HAS_SHA2_64_X86 20250310
405#define BOTAN_HAS_SHA2_64_X86_AVX2 20190117
406#define BOTAN_HAS_SHA2_64_X86_AVX512 20250427
407#define BOTAN_HAS_SHACAL2_AVX2 20180826
408#define BOTAN_HAS_SHACAL2_AVX512 20250516
409#define BOTAN_HAS_SHACAL2_SIMD 20170813
410#define BOTAN_HAS_SHACAL2_X86 20170814
411#define BOTAN_HAS_SIMD_2X64 20250405
412#define BOTAN_HAS_SIMD_4X32 20131128
413#define BOTAN_HAS_SIMD_4X64 20250405
414#define BOTAN_HAS_SIMD_8X64 20250427
415#define BOTAN_HAS_SIMD_AVX2 20180824
416#define BOTAN_HAS_SIMD_AVX512 20230101
417#define BOTAN_HAS_SM4_GFNI 20240803
418#define BOTAN_HAS_SM4_X86 20250311
419#define BOTAN_HAS_SOCKETS 20171216
420#define BOTAN_HAS_THREAD_UTILS 20190922
421#define BOTAN_HAS_UUID 20180930
422#define BOTAN_HAS_ZFEC_SSE2 20211211
423#define BOTAN_HAS_ZFEC_VPERM 20211211
424
425
426/**
427 * @}
428 */
429
430/* NOLINTEND(*-macro-usage,*-macro-to-enum) */
431
432#endif