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 96c711433a6ac9529d2f205b75c4c5bcd49f9419
parent c800899400f179dde4960ef945336f4ce0e24d89
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Tue, 11 Dec 2018 16:20:36 +0100

Correction d'un shift dans M³ (spec et implem)

Diffstat:
Msrc/tweakey.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tweakey.c b/src/tweakey.c @@ -144,7 +144,7 @@ static void _multiply_M3(const uint8_t X[LANE_BYTES], uint8_t Y[LANE_BYTES]) Y[5] = M_2[X[4]] ^ M_1[X[3]] ^ X[2]; Y[4] = X[6]<<2 ^ X[3]>>6 ^ X[2]>>3 ^ X[1]; Y[3] = X[5]<<2 ^ X[0]; - Y[2] = X[7] ^ X[5]<<6 ^ X[4]<<2; + Y[2] = X[7] ^ X[5]<<5 ^ X[4]<<2; Y[1] = X[6]; Y[0] = X[5]; }