summaryrefslogtreecommitdiff
path: root/src/ref/cipher.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-05 15:00:59 +0200
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-05 16:37:11 +0200
commit1b4b310cde60372107376c130de1d1950adc8809 (patch)
tree1b202648f34277df73e0718f7f03f3aba21a7255 /src/ref/cipher.c
parent4f58d99e11e1c412a600f39f32a8d181765f0246 (diff)
downloadlilliput-ae-implem-1b4b310cde60372107376c130de1d1950adc8809.tar.xz
Utilisation de "size_t" pour l'indexation d'un tableau
Cf. db83bae et 5fdd2fd, surtout par souci d'homogénéité.
Diffstat (limited to 'src/ref/cipher.c')
-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]);