diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-05 15:00:59 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-05 16:37:11 +0200 |
| commit | 5bc170749da06b16200979e58bf3999a746efa9f (patch) | |
| tree | 1b202648f34277df73e0718f7f03f3aba21a7255 /src/ref | |
| parent | 75d7f59658539c699cdf9c7a3abdbead15aac199 (diff) | |
| download | lilliput-ae-implem-5bc170749da06b16200979e58bf3999a746efa9f.tar.xz | |
Utilisation de "size_t" pour l'indexation d'un tableau
Cf. ef17fe7 et b29cc9d, surtout par souci d'homogénéité.
Diffstat (limited to 'src/ref')
| -rw-r--r-- | src/ref/cipher.c | 2 |
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]); |
