From 9f18cc9132cb074299994e85e7b9943283f78576 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 23 Sep 2017 16:45:18 -0400 Subject: More header cleanups --- src/lib/misc/aont/package.cpp | 1 + src/lib/misc/aont/package.h | 3 ++- src/lib/misc/cryptobox/cryptobox.cpp | 1 + src/lib/misc/cryptobox/cryptobox.h | 3 ++- src/lib/prov/pkcs11/p11_ecc_key.h | 1 - src/lib/pubkey/curve25519/curve25519.cpp | 1 + src/lib/pubkey/eckcdsa/eckcdsa.cpp | 1 + src/lib/pubkey/ed25519/ed25519.cpp | 1 + src/lib/pubkey/ed25519/ed25519_key.cpp | 1 + src/lib/pubkey/mce/mceliece_key.cpp | 1 + src/lib/pubkey/pk_ops.cpp | 1 + src/lib/pubkey/pk_ops.h | 2 +- 12 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/lib/misc/aont/package.cpp b/src/lib/misc/aont/package.cpp index c9dd3dada..7cadc62f4 100644 --- a/src/lib/misc/aont/package.cpp +++ b/src/lib/misc/aont/package.cpp @@ -10,6 +10,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/misc/aont/package.h b/src/lib/misc/aont/package.h index c2f8c159d..38e04e470 100644 --- a/src/lib/misc/aont/package.h +++ b/src/lib/misc/aont/package.h @@ -9,10 +9,11 @@ #define BOTAN_AONT_PACKAGE_TRANSFORM_H_ #include -#include namespace Botan { +class RandomNumberGenerator; + /** * Rivest's Package Tranform * @param rng the random number generator to use diff --git a/src/lib/misc/cryptobox/cryptobox.cpp b/src/lib/misc/cryptobox/cryptobox.cpp index bb897949f..195263368 100644 --- a/src/lib/misc/cryptobox/cryptobox.cpp +++ b/src/lib/misc/cryptobox/cryptobox.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/src/lib/misc/cryptobox/cryptobox.h b/src/lib/misc/cryptobox/cryptobox.h index bfa6d06af..a579a9f7a 100644 --- a/src/lib/misc/cryptobox/cryptobox.h +++ b/src/lib/misc/cryptobox/cryptobox.h @@ -9,11 +9,12 @@ #define BOTAN_CRYPTOBOX_H_ #include -#include #include namespace Botan { +class RandomNumberGenerator; + /** * This namespace holds various high-level crypto functions */ diff --git a/src/lib/prov/pkcs11/p11_ecc_key.h b/src/lib/prov/pkcs11/p11_ecc_key.h index 2ab92790d..2372ae07c 100644 --- a/src/lib/prov/pkcs11/p11_ecc_key.h +++ b/src/lib/prov/pkcs11/p11_ecc_key.h @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/src/lib/pubkey/curve25519/curve25519.cpp b/src/lib/pubkey/curve25519/curve25519.cpp index 2d07f67ab..3414bfbda 100644 --- a/src/lib/pubkey/curve25519/curve25519.cpp +++ b/src/lib/pubkey/curve25519/curve25519.cpp @@ -9,6 +9,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/eckcdsa/eckcdsa.cpp b/src/lib/pubkey/eckcdsa/eckcdsa.cpp index 2a320cc5a..93cbf0449 100644 --- a/src/lib/pubkey/eckcdsa/eckcdsa.cpp +++ b/src/lib/pubkey/eckcdsa/eckcdsa.cpp @@ -11,6 +11,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/ed25519/ed25519.cpp b/src/lib/pubkey/ed25519/ed25519.cpp index 5c9bd2b3d..d959df709 100644 --- a/src/lib/pubkey/ed25519/ed25519.cpp +++ b/src/lib/pubkey/ed25519/ed25519.cpp @@ -11,6 +11,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/ed25519/ed25519_key.cpp b/src/lib/pubkey/ed25519/ed25519_key.cpp index 269834a33..2b0f4eaec 100644 --- a/src/lib/pubkey/ed25519/ed25519_key.cpp +++ b/src/lib/pubkey/ed25519/ed25519_key.cpp @@ -13,6 +13,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/mce/mceliece_key.cpp b/src/lib/pubkey/mce/mceliece_key.cpp index 5d8378e52..67ff8f635 100644 --- a/src/lib/pubkey/mce/mceliece_key.cpp +++ b/src/lib/pubkey/mce/mceliece_key.cpp @@ -17,6 +17,7 @@ #include #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/pk_ops.cpp b/src/lib/pubkey/pk_ops.cpp index 5c864d966..fb85645cb 100644 --- a/src/lib/pubkey/pk_ops.cpp +++ b/src/lib/pubkey/pk_ops.cpp @@ -7,6 +7,7 @@ #include #include +#include namespace Botan { diff --git a/src/lib/pubkey/pk_ops.h b/src/lib/pubkey/pk_ops.h index 4345c18c6..0aaf0b0df 100644 --- a/src/lib/pubkey/pk_ops.h +++ b/src/lib/pubkey/pk_ops.h @@ -20,10 +20,10 @@ #include #include -#include namespace Botan { +class RandomNumberGenerator; class EME; class KDF; class EMSA; -- cgit v1.2.3