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/sha1 | |
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/sha1')
-rw-r--r-- | src/lib/hash/sha1/sha160.cpp | 1 | ||||
-rw-r--r-- | src/lib/hash/sha1/sha1_sse2/sha1_sse2.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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 { |