From 778bb979efd0cf202899f21360992ce9a616cbfd Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 22 Nov 2018 16:29:14 +0100 Subject: Ajout de la clé dans les paramètres de l'API AE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Herp derp. --- crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crypto_aead/lilliputaei128v1/ref/test') diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c b/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c index d97a813..f1cb24c 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->nonce, v->key, &ciphertext_len, ciphertext, tag ); @@ -97,8 +97,7 @@ int main() bool valid = lilliput_ae_decrypt( ciphertext_len, ciphertext, v->auth_len, v->auth, - v->nonce, - tag, + v->nonce, v->key, tag, &deciphered_len, deciphered ); -- cgit v1.2.3