lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

commit 1fcb3a006a29d37897adf2af237a73d050d57263
parent c77e2ddc9b9c1dbab7513084d597a238b9b498dd
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Fri,  5 Jul 2019 10:24:12 +0200

Correction du patch de traces

Cassé par 5fdd2fd.

Léger  ajustement  du Makefile  pour  que  les plantages  soient  plus
simples à comprendre.

Diffstat:
MMakefile | 2+-
Mtraces/traces-tbc.patch | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -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 @@ -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); }