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/stream | |
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/stream')
-rw-r--r-- | src/lib/stream/chacha/chacha.cpp | 1 | ||||
-rw-r--r-- | src/lib/stream/salsa20/salsa20.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/stream/chacha/chacha.cpp b/src/lib/stream/chacha/chacha.cpp index 327454d79..c8d567e5e 100644 --- a/src/lib/stream/chacha/chacha.cpp +++ b/src/lib/stream/chacha/chacha.cpp @@ -8,6 +8,7 @@ #include <botan/chacha.h> #include <botan/exceptn.h> #include <botan/loadstor.h> +#include <botan/rotate.h> #include <botan/cpuid.h> namespace Botan { diff --git a/src/lib/stream/salsa20/salsa20.cpp b/src/lib/stream/salsa20/salsa20.cpp index 7e22b37be..407a3183e 100644 --- a/src/lib/stream/salsa20/salsa20.cpp +++ b/src/lib/stream/salsa20/salsa20.cpp @@ -8,6 +8,7 @@ #include <botan/salsa20.h> #include <botan/exceptn.h> #include <botan/loadstor.h> +#include <botan/rotate.h> namespace Botan { |