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 | 1b4b310cde60372107376c130de1d1950adc8809 (patch) | |
| tree | 1b202648f34277df73e0718f7f03f3aba21a7255 /traces/add_threshold/traces-tbc.patch | |
| parent | 4f58d99e11e1c412a600f39f32a8d181765f0246 (diff) | |
| download | lilliput-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 'traces/add_threshold/traces-tbc.patch')
| -rw-r--r-- | traces/add_threshold/traces-tbc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/traces/add_threshold/traces-tbc.patch b/traces/add_threshold/traces-tbc.patch index ac239fa..684569c 100644 --- a/traces/add_threshold/traces-tbc.patch +++ b/traces/add_threshold/traces-tbc.patch @@ -1,5 +1,5 @@ diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c -index db1ec04..c92c756 100644 +index 778a100..3b49db5 100644 --- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c +++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_threshold/cipher.c @@ -25,6 +25,8 @@ throughout the entire round function in order to avoid extra randomness @@ -35,7 +35,7 @@ index db1ec04..c92c756 100644 + debug_dump_buffer("RTK_X", ROUND_TWEAKEY_BYTES, RTK_X[0], 8); + debug_dump_buffer("RTK_Y", ROUND_TWEAKEY_BYTES, RTK_Y[0], 8); + - for (uint8_t i=1; i<ROUNDS; i++) + for (size_t i=1; i<ROUNDS; i++) { tweakey_state_update(TK_X, TK_Y); + debug_dump_buffer("TK_X", TWEAKEY_BYTES, TK_X, 8); |
