From 2ad8162218c681fc33ed0d0edc8ae7af976667d8 Mon Sep 17 00:00:00 2001 From: Emil Bay Date: Thu, 12 Apr 2018 17:24:10 +0200 Subject: [PATCH] Missing test for abytes --- test/default/aead_xchacha20poly1305.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/default/aead_xchacha20poly1305.c b/test/default/aead_xchacha20poly1305.c index 0927ce6c..5afec018 100644 --- a/test/default/aead_xchacha20poly1305.c +++ b/test/default/aead_xchacha20poly1305.c @@ -174,7 +174,8 @@ tv(void) sodium_free(mac); sodium_free(m2); sodium_free(m); - + + assert(crypto_aead_xchacha20poly1305_ietf_abytes() == crypto_aead_xchacha20poly1305_ietf_ABYTES); assert(crypto_aead_xchacha20poly1305_ietf_keybytes() == crypto_aead_xchacha20poly1305_ietf_KEYBYTES); assert(crypto_aead_xchacha20poly1305_ietf_npubbytes() == crypto_aead_xchacha20poly1305_ietf_NPUBBYTES); assert(crypto_aead_xchacha20poly1305_ietf_nsecbytes() == 0U);