From 825deaadada2e2e615fdc3dd0bcb728249d16c0f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 20 Nov 2018 15:53:29 +0100 Subject: Implémentation de la permutation du tweakey MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … Et bien sûr, les résultats divergent. E.g. pour le vecteur random : Post permutation Tweakey : - b4 16 73 a9 ae 56 44 ca - f3 d1 19 a2 f1 00 13 28 - 25 0e 90 39 33 c5 28 33 - d2 ff 52 a5 12 73 5b 19 - 26 04 0b cf 2d 5e d4 4c + b4 73 ae 44 16 ca a9 56 + f3 19 f1 13 d1 28 a2 00 + 25 90 33 28 0e 33 39 c5 + d2 52 12 5b ff 19 a5 73 + 26 0b 2d d4 04 4c cf 5e --- crypto_aead/lilliputaei128v1/ref/constants.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 crypto_aead/lilliputaei128v1/ref/constants.c (limited to 'crypto_aead/lilliputaei128v1/ref/constants.c') diff --git a/crypto_aead/lilliputaei128v1/ref/constants.c b/crypto_aead/lilliputaei128v1/ref/constants.c new file mode 100644 index 0000000..ef9f1a7 --- /dev/null +++ b/crypto_aead/lilliputaei128v1/ref/constants.c @@ -0,0 +1,6 @@ +#include "constants.h" + + +const uint8_t h[8] = { + 4, 0, 1, 5, 2, 6, 3, 7 +}; -- cgit v1.2.3