aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-21 17:09:44 -0400
committerJack Lloyd <[email protected]>2017-09-21 17:09:44 -0400
commit04d45e471af82ea6551330593580e39546dceb63 (patch)
tree584f7e317c8878aabed3549e9031e25f0c5974ac /src
parent24cab1372a723c68153fd58d30776e238278ccf9 (diff)
Deprecate botan/botan.h header
No actual reason for this header to exist.
Diffstat (limited to 'src')
-rw-r--r--src/lib/base/botan.h70
1 files changed, 13 insertions, 57 deletions
diff --git a/src/lib/base/botan.h b/src/lib/base/botan.h
index 189ad5bcf..fef069c87 100644
--- a/src/lib/base/botan.h
+++ b/src/lib/base/botan.h
@@ -1,7 +1,6 @@
/*
* A vague catch all include file for Botan
* (C) 1999-2007 Jack Lloyd
-* (C) 2016 René Korthaus, Rohde & Schwarz Cybersecurity
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
@@ -9,62 +8,6 @@
#ifndef BOTAN_BOTAN_H_
#define BOTAN_BOTAN_H_
-namespace Botan {
-
-/**
-* @mainpage Botan Crypto Library API Reference
-*
-* <dl>
-* <dt>Abstract Base Classes<dd>
-* BlockCipher, HashFunction, KDF, MessageAuthenticationCode, RandomNumberGenerator,
-* PK_Key_Agreement, PK_Signer, PK_Verifier, StreamCipher, SymmetricAlgorithm
-* <dt>Authenticated Encryption Modes<dd>
-* @ref CCM_Mode "CCM", @ref ChaCha20Poly1305_Mode "ChaCha20Poly1305", @ref EAX_Mode "EAX",
-* @ref GCM_Mode "GCM", @ref OCB_Mode "OCB", @ref SIV_Mode "SIV"
-* <dt>Block Ciphers<dd>
-* @ref aes.h "AES", @ref Blowfish, @ref camellia.h "Camellia", @ref Cascade_Cipher "Cascade",
-* @ref CAST_128 "CAST-128", @ref CAST_128 "CAST-256", DES, @ref DESX "DES-X", @ref TripleDES "3DES",
-* @ref GOST_28147_89 "GOST 28147-89", IDEA, KASUMI, Lion, MISTY1, Noekeon, SEED, Serpent,
-* @ref Threefish_512 "Threefish", Twofish, XTEA
-* <dt>Stream Ciphers<dd>
-* ChaCha, @ref CTR_BE "CTR", OFB, RC4, Salsa20
-* <dt>Hash Functions<dd>
-* Blake2b, @ref GOST_34_11 "GOST 34.11", @ref Keccak_1600 "Keccak", MD4, MD5, @ref RIPEMD_160 "RIPEMD-160",
-* @ref SHA_160 "SHA-1", @ref SHA_224 "SHA-224", @ref SHA_256 "SHA-256", @ref SHA_384 "SHA-384",
-* @ref SHA_512 "SHA-512", @ref Skein_512 "Skein-512", Tiger, Whirlpool
-* <dt>Non-Cryptographic Checksums<dd>
-* Adler32, CRC24, CRC32
-* <dt>Message Authentication Codes<dd>
-* @ref CBC_MAC "CBC-MAC", CMAC, HMAC, Poly1305, SipHash, ANSI_X919_MAC
-* <dt>Random Number Generators<dd>
-* AutoSeeded_RNG, HMAC_DRBG, RDRAND_RNG, System_RNG
-* <dt>Key Derivation<dd>
-* HKDF, @ref KDF1 "KDF1 (IEEE 1363)", @ref KDF1_18033 "KDF1 (ISO 18033-2)", @ref KDF2 "KDF2 (IEEE 1363)",
-* @ref sp800_108.h "SP800-108", @ref SP800_56C "SP800-56C", @ref PKCS5_PBKDF1 "PBKDF1 (PKCS#5),
-* @ref PKCS5_PBKDF2 "PBKDF2 (PKCS#5)"
-* <dt>Password Hashing<dd>
-* @ref bcrypt.h "bcrypt", @ref passhash9.h "passhash9"
-* <dt>Public Key Cryptosystems<dd>
-* @ref dlies.h "DLIES", @ref ecies.h "ECIES", @ref elgamal.h "ElGamal", @ref mceies.h "MCEIES",
-* @ref rsa.h "RSA"
-* <dt>Public Key Signature Schemes<dd>
-* @ref dsa.h "DSA", @ref ecdsa.h "ECDSA", @ref ecgdsa.h "ECGDSA", @ref eckcdsa.h "ECKCDSA",
-* @ref gost_3410.h "GOST 34.10-2001", @ref mceliece.h "McEliece"
-* <dt>Key Agreement<dd>
-* @ref dh.h "DH", @ref ecdh.h "ECDH"
-* <dt>Compression<dd>
-* @ref bzip2.h "bzip2", @ref lzma.h "lzma", @ref zlib.h "zlib"
-* <dt>TLS<dd>
-* TLS::Client, TLS::Server, TLS::Policy, TLS::Protocol_Version, TLS::Callbacks, TLS::Ciphersuite,
-* TLS::Session, TLS::Session_Manager, Credentials_Manager
-* <dt>X.509<dd>
-* X509_Certificate, X509_CRL, X509_CA, Certificate_Extension, PKCS10_Request, X509_Cert_Options,
-* Certificate_Store, Certificate_Store_In_SQL, Certificate_Store_In_SQLite
-* </dl>
-*/
-
-}
-
#include <botan/lookup.h>
#include <botan/version.h>
#include <botan/parsing.h>
@@ -75,4 +18,17 @@ namespace Botan {
#include <botan/auto_rng.h>
#endif
+/*
+* There is no real reason for this header to exist beyond historical
+* reasons. The application should instead include the specific header
+* files that define the interfaces it intends to use.
+*
+* This header file will be removed in Botan 3.x
+*/
+#if defined(__GNUC__)
+ #warning "botan/botan.h is deprecated"
+#elif defined(_MSC_VER)
+ #pragma message "botan/botan.h is deprecated"
+#endif
+
#endif