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 e124470b330742fbe0c6f0099d08fdf96070f6b8
parent 58bd58f23c0a6a36aa40cb07f8a5b2245d6225d4
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Wed, 28 Nov 2018 17:49:32 +0100

Changement d'un index dans les traces

Diffstat:
Mtraces.patch | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traces.patch b/traces.patch @@ -389,7 +389,7 @@ index 26885e5..88f9ae0 100644 } diff --git a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/tweakey.c b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/tweakey.c -index da97019..cb25b21 100644 +index da97019..cbff16a 100644 --- a/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/tweakey.c +++ b/SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/tweakey.c @@ -1,3 +1,5 @@ @@ -402,7 +402,7 @@ index da97019..cb25b21 100644 for (const uint8_t *lane=TK->TK; lane<TK->TK+TWEAKEY_BYTES; lane+=LANE_BYTES) { -+ fprintf(DUMP, " XORing lane %zu/%zu\n", (size_t)((lane-TK->TK)/LANE_BYTES), (size_t)LANES_NB); ++ fprintf(DUMP, " XORing lane %zu/%zu\n", 1+(size_t)((lane-TK->TK)/LANE_BYTES), (size_t)LANES_NB); + debug_dump_buffer("RTK", ROUND_TWEAKEY_BYTES, round_tweakey, 12); + debug_dump_buffer("lane[j]", LANE_BYTES, lane, 12); +