Skip to content

Commit

Permalink
Rename whrlpool.h to whirlpool.h
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Jul 23, 2023
1 parent dcae54c commit 4f6581b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/hash/hash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#endif

#if defined(BOTAN_HAS_WHIRLPOOL)
#include <botan/internal/whrlpool.h>
#include <botan/internal/whirlpool.h>
#endif

#if defined(BOTAN_HAS_PARALLEL_HASH)
Expand Down
4 changes: 2 additions & 2 deletions src/lib/hash/whirlpool/whirlpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/

#include <botan/internal/whrlpool.h>
#include <botan/internal/whirlpool.h>

#include <botan/internal/loadstor.h>
#include <botan/internal/rotate.h>
Expand Down Expand Up @@ -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)];
Expand Down
File renamed without changes.

0 comments on commit 4f6581b

Please sign in to comment.