Skip to content

Commit

Permalink
Fix inclusion of bswap.h
Browse files Browse the repository at this point in the history
Some files which needed it didn't include it (but still had access via
the inclusion in loadstor.h)

Some files which included it didn't use it.
  • Loading branch information
randombit committed Apr 10, 2024
1 parent 846a6ae commit 035d167
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/lib/block/aes/aes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <botan/internal/aes.h>

#include <botan/internal/bit_ops.h>
#include <botan/internal/bswap.h>
#include <botan/internal/cpuid.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/loadstor.h>
Expand Down
1 change: 1 addition & 0 deletions src/lib/block/aria/aria.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <botan/internal/aria.h>

#include <botan/internal/bswap.h>
#include <botan/internal/loadstor.h>
#include <botan/internal/prefetch.h>
#include <botan/internal/rotate.h>
Expand Down
1 change: 0 additions & 1 deletion src/lib/hash/checksum/crc24/crc24.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <botan/internal/crc24.h>

#include <botan/internal/bswap.h>
#include <botan/internal/loadstor.h>

namespace Botan {
Expand Down
1 change: 1 addition & 0 deletions src/lib/hash/streebog/streebog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <botan/internal/streebog.h>

#include <botan/exceptn.h>
#include <botan/internal/bswap.h>
#include <botan/internal/fmt.h>
#include <botan/internal/loadstor.h>
#include <botan/internal/stl_util.h>
Expand Down
1 change: 0 additions & 1 deletion src/lib/utils/simd/simd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#define BOTAN_SIMD_USE_SSE2

#elif defined(BOTAN_TARGET_SUPPORTS_ALTIVEC)
#include <botan/internal/bswap.h>
#include <botan/internal/loadstor.h>
#include <altivec.h>
#undef vector
Expand Down

0 comments on commit 035d167

Please sign in to comment.