summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/test/test-ae-roundtrip.c5
1 files changed, 2 insertions, 3 deletions
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
);