diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-05 10:24:12 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2019-07-05 10:25:35 +0200 |
| commit | 1fcb3a006a29d37897adf2af237a73d050d57263 (patch) | |
| tree | 578c2f2782214c2b94042ee12f8903ea41387210 | |
| parent | c77e2ddc9b9c1dbab7513084d597a238b9b498dd (diff) | |
| download | lilliput-ae-implem-1fcb3a006a29d37897adf2af237a73d050d57263.tar.xz | |
Correction du patch de traces
Cassé par 5fdd2fd.
Léger ajustement du Makefile pour que les plantages soient plus
simples à comprendre.
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | traces/traces-tbc.patch | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -20,7 +20,7 @@ test: $(test_variants) traces: traces-ae traces-tbc traces-%: | results - @ echo "Collecting traces" + @ echo "Collecting $@" @ ./traces/collect-traces.sh $@ nist: diff --git a/traces/traces-tbc.patch b/traces/traces-tbc.patch index f03cdfc..ff36123 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 8ebbbc3..c622374 100644 +index 07405e1..0997cac 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/ @@ -98,9 +98,9 @@ index 8ebbbc3..c622374 100644 + fprintf(DUMP, "running EGFN %zu times\n", (size_t)ROUNDS); + - for (uint8_t i=0; i<ROUNDS-1; i++) + for (size_t i=0; i<ROUNDS-1; i++) { -+ fprintf(DUMP, " round %zu\n", (size_t)i); ++ fprintf(DUMP, " round %zu\n", i); _one_round_egfn(X, RTK[i], PERMUTATION_ENCRYPTION); } |
