diff options
author | Jack Lloyd <[email protected]> | 2018-12-20 20:22:03 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-21 10:07:15 -0500 |
commit | 43875971d5d6c04035b4e1c27558e2ba9a48fe97 (patch) | |
tree | b8231e9c7d8836a899d23d5bb0e11fcff50f21d3 /src/lib/hash | |
parent | 2f60e29e5688bf81719f0f907d658c083378811b (diff) |
Avoid including rotate.h in bswap.h
It was only needed for one case which is easily hardcoded. Include
rotate.h in all the source files that actually use rotr/rotl but
implicitly picked it up via loadstor.h -> bswap.h -> rotate.h include
chain.
Diffstat (limited to 'src/lib/hash')
-rw-r--r-- | src/lib/hash/md4/md4.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/md5/md5.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/rmd160/rmd160.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha1/sha160.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha2_32/sha2_32.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha2_64/sha2_64.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha3/sha3.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sm3/sm3.cpp | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/hash/md4/md4.cpp b/src/lib/hash/md4/md4.cpp index 1c048a6b3..c0c3472de 100644 --- a/src/lib/hash/md4/md4.cpp +++ b/src/lib/hash/md4/md4.cpp @@ -6,6 +6,7 @@ */ #include <botan/md4.h> +#include <botan/rotate.h> namespace Botan { diff --git a/src/lib/hash/md5/md5.cpp b/src/lib/hash/md5/md5.cpp index de75ab2d1..3b9b4d281 100644 --- a/src/lib/hash/md5/md5.cpp +++ b/src/lib/hash/md5/md5.cpp @@ -6,6 +6,7 @@ */ #include <botan/md5.h> +#include <botan/rotate.h> namespace Botan { diff --git a/src/lib/hash/rmd160/rmd160.cpp b/src/lib/hash/rmd160/rmd160.cpp index 4c84ff422..e85feec08 100644 --- a/src/lib/hash/rmd160/rmd160.cpp +++ b/src/lib/hash/rmd160/rmd160.cpp @@ -6,6 +6,7 @@ */ #include <botan/rmd160.h> +#include <botan/rotate.h> namespace Botan { diff --git a/src/lib/hash/sha1/sha160.cpp b/src/lib/hash/sha1/sha160.cpp index 8c12a4f04..4170722b1 100644 --- a/src/lib/hash/sha1/sha160.cpp +++ b/src/lib/hash/sha1/sha160.cpp @@ -6,6 +6,7 @@ */ #include <botan/sha160.h> +#include <botan/rotate.h> #include <botan/cpuid.h> namespace Botan { diff --git a/src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp b/src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp index 88e5a0d2c..7371ca08f 100644 --- a/src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp +++ b/src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp @@ -8,6 +8,7 @@ */ #include <botan/sha160.h> +#include <botan/rotate.h> #include <emmintrin.h> namespace Botan { diff --git a/src/lib/hash/sha2_32/sha2_32.cpp b/src/lib/hash/sha2_32/sha2_32.cpp index 99cc2a6ff..9f1cfd2dc 100644 --- a/src/lib/hash/sha2_32/sha2_32.cpp +++ b/src/lib/hash/sha2_32/sha2_32.cpp @@ -7,6 +7,7 @@ */ #include <botan/sha2_32.h> +#include <botan/rotate.h> #include <botan/cpuid.h> namespace Botan { diff --git a/src/lib/hash/sha2_64/sha2_64.cpp b/src/lib/hash/sha2_64/sha2_64.cpp index 45992e996..e614e6b28 100644 --- a/src/lib/hash/sha2_64/sha2_64.cpp +++ b/src/lib/hash/sha2_64/sha2_64.cpp @@ -6,6 +6,7 @@ */ #include <botan/sha2_64.h> +#include <botan/rotate.h> namespace Botan { diff --git a/src/lib/hash/sha3/sha3.cpp b/src/lib/hash/sha3/sha3.cpp index b69ef515a..09c2d8c1b 100644 --- a/src/lib/hash/sha3/sha3.cpp +++ b/src/lib/hash/sha3/sha3.cpp @@ -6,6 +6,7 @@ */ #include <botan/sha3.h> +#include <botan/rotate.h> #include <botan/exceptn.h> namespace Botan { diff --git a/src/lib/hash/sm3/sm3.cpp b/src/lib/hash/sm3/sm3.cpp index 83a390008..4c746ce2f 100644 --- a/src/lib/hash/sm3/sm3.cpp +++ b/src/lib/hash/sm3/sm3.cpp @@ -6,6 +6,7 @@ */ #include <botan/sm3.h> +#include <botan/rotate.h> namespace Botan { |