From db2c7ed005cd201d708b43fd5babb626b9819e31 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 26 Nov 2018 14:21:01 +0100 Subject: Implémentation du mode ΘCB3 : chiffrement - message - tweak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Et 2-3 corrections au passage : - taille du tweak dans les commentaires - remplissage du tweak pour les données associées - ordre des arguments --- crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c') diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c b/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c index f1cb24c..4b03efb 100644 --- a/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c +++ b/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c @@ -87,7 +87,7 @@ int main() lilliput_ae_encrypt( v->message_len, v->message, v->auth_len, v->auth, - v->nonce, v->key, + v->key, v->nonce, &ciphertext_len, ciphertext, tag ); @@ -97,7 +97,7 @@ int main() bool valid = lilliput_ae_decrypt( ciphertext_len, ciphertext, v->auth_len, v->auth, - v->nonce, v->key, tag, + v->key, v->nonce, tag, &deciphered_len, deciphered ); -- cgit v1.2.3