From 4f6581b6ab87462845d4be3759f5cdbad5befdd3 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 23 Jul 2023 08:46:04 -0400 Subject: [PATCH] Rename whrlpool.h to whirlpool.h --- src/lib/hash/hash.cpp | 2 +- src/lib/hash/whirlpool/whirlpool.cpp | 4 ++-- src/lib/hash/whirlpool/{whrlpool.h => whirlpool.h} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/lib/hash/whirlpool/{whrlpool.h => whirlpool.h} (100%) diff --git a/src/lib/hash/hash.cpp b/src/lib/hash/hash.cpp index 8679479a1fa..871e6537f07 100644 --- a/src/lib/hash/hash.cpp +++ b/src/lib/hash/hash.cpp @@ -75,7 +75,7 @@ #endif #if defined(BOTAN_HAS_WHIRLPOOL) - #include + #include #endif #if defined(BOTAN_HAS_PARALLEL_HASH) diff --git a/src/lib/hash/whirlpool/whirlpool.cpp b/src/lib/hash/whirlpool/whirlpool.cpp index 8f1bc4dcc40..b97cbe73634 100644 --- a/src/lib/hash/whirlpool/whirlpool.cpp +++ b/src/lib/hash/whirlpool/whirlpool.cpp @@ -5,7 +5,7 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include +#include #include #include @@ -68,7 +68,7 @@ alignas(256) const uint64_t WHIRL_S[256] = { 0x98985A98B4C22D2C, 0xA4A4AAA4490E55ED, 0x2828A0285D885075, 0x5C5C6D5CDA31B886, 0xF8F8C7F8933FED6B, 0x8686228644A411C2}; -inline uint64_t whirl( +uint64_t whirl( uint64_t x0, uint64_t x1, uint64_t x2, uint64_t x3, uint64_t x4, uint64_t x5, uint64_t x6, uint64_t x7) { const uint64_t s0 = WHIRL_S[get_byte<0>(x0)]; const uint64_t s1 = WHIRL_S[get_byte<1>(x1)]; diff --git a/src/lib/hash/whirlpool/whrlpool.h b/src/lib/hash/whirlpool/whirlpool.h similarity index 100% rename from src/lib/hash/whirlpool/whrlpool.h rename to src/lib/hash/whirlpool/whirlpool.h