summaryrefslogtreecommitdiff
path: root/src/ref
diff options
context:
space:
mode:
Diffstat (limited to 'src/ref')
-rw-r--r--src/ref/cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ref/cipher.c b/src/ref/cipher.c
index 07405e1..b6b309e 100644
--- a/src/ref/cipher.c
+++ b/src/ref/cipher.c
@@ -75,7 +75,7 @@ static void _compute_round_tweakeys(
tweakey_state_init(TK, key, tweak);
tweakey_state_extract(TK, 0, RTK[0]);
- for (uint8_t i=1; i<ROUNDS; i++)
+ for (size_t i=1; i<ROUNDS; i++)
{
tweakey_state_update(TK);
tweakey_state_extract(TK, i, RTK[i]);