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 384266125a9ada7f011e4e742f4cb88045a66bca
parent 5e48d6b0824773c41ecac4afd6129bbc8c908454
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Mon, 26 Nov 2018 15:41:56 +0100

Correction d'un XOR intempestif

"Tiens c'est marrant mon octet vaut zéro un coup sur deux."

(Test toujours KO pour le moment)

Diffstat:
Mcrypto_aead/lilliputaei128v1/ref/lilliput-ae-i.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto_aead/lilliputaei128v1/ref/lilliput-ae-i.c b/crypto_aead/lilliputaei128v1/ref/lilliput-ae-i.c @@ -86,7 +86,7 @@ static void _fill_ad_tweak( /* Assume padding bytes have already been memset to 0. */ - tweak[TWEAK_BYTES-1] ^= prefix << 4; + tweak[TWEAK_BYTES-1] |= prefix << 4; } static void _fill_msg_tweak(