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 /traces/traces-tbc.patch | |
| 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 'traces/traces-tbc.patch')
| -rw-r--r-- | traces/traces-tbc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/traces/traces-tbc.patch b/traces/traces-tbc.patch index ff36123..22aaedd 100644 --- a/traces/traces-tbc.patch +++ b/traces/traces-tbc.patch @@ -1,5 +1,5 @@ diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ref/cipher.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ref/cipher.c -index 07405e1..0997cac 100644 +index b6b309e..011bc70 100644 --- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ref/cipher.c +++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/ref/cipher.c @@ -17,6 +17,8 @@ http://creativecommons.org/publicdomain/zero/1.0/ @@ -24,7 +24,7 @@ index 07405e1..0997cac 100644 + fprintf(DUMP, " 0\n"); + debug_dump_buffer("RTK", ROUND_TWEAKEY_BYTES, RTK[0], 8); + - for (uint8_t i=1; i<ROUNDS; i++) + for (size_t i=1; i<ROUNDS; i++) { + fprintf(DUMP, " %zu\n", (size_t)i); + |
