Skip to content

Commit

Permalink
keccak: Use size_t for round index
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Dec 8, 2020
1 parent 200bb06 commit 1e0b5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/keccak/keccakf1600.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static inline ALWAYS_INLINE void keccakf1600_implementation(uint64_t state[25])
Aso = state[23];
Asu = state[24];

for (int round = 0; round < 24; round += 2)
for (size_t round = 0; round < 24; round += 2)
{
/* Round (round + 0): Axx -> Exx */

Expand Down

0 comments on commit 1e0b5b2

Please sign in to comment.