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 c411641afd681d086a9595e9f82618246afbca0b
parent 3a570315f28ea52e277bdeb7790e35fd11661592
Author: Kévin Le Gouguec <kevin.legouguec@airbus.com>
Date:   Mon, 20 May 2019 14:00:07 +0200

Correction du calcul de Fj

Problème introduit par 3a57031.

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

diff --git a/src/ref/cipher.c b/src/ref/cipher.c @@ -85,7 +85,7 @@ static void _compute_round_tweakeys( static uint8_t _Fj(uint8_t Xj, uint8_t RTKj) { - return S[Xj] ^ RTK[j]; + return S[Xj ^ RTKj]; } static void _nonlinear_layer(uint8_t X[BLOCK_BYTES], const uint8_t RTK[ROUND_TWEAKEY_BYTES])