summaryrefslogtreecommitdiff
path: root/traces
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-05 10:24:12 +0200
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-05 10:25:35 +0200
commit1fcb3a006a29d37897adf2af237a73d050d57263 (patch)
tree578c2f2782214c2b94042ee12f8903ea41387210 /traces
parentc77e2ddc9b9c1dbab7513084d597a238b9b498dd (diff)
downloadlilliput-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.
Diffstat (limited to 'traces')
-rw-r--r--traces/traces-tbc.patch6
1 files changed, 3 insertions, 3 deletions
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);
}