1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

One more test

This commit is contained in:
Frank Denis 2017-12-06 13:53:22 +00:00
parent 43fa5ecc49
commit 609e42be75

View File

@ -291,6 +291,7 @@ tv_secretbox_xchacha20poly1305(void)
assert(crypto_secretbox_xchacha20poly1305_keybytes() == crypto_secretbox_xchacha20poly1305_KEYBYTES);
assert(crypto_secretbox_xchacha20poly1305_noncebytes() == crypto_secretbox_xchacha20poly1305_NONCEBYTES);
assert(crypto_secretbox_xchacha20poly1305_macbytes() == crypto_secretbox_xchacha20poly1305_MACBYTES);
assert(crypto_secretbox_xchacha20poly1305_messagebytes_max() == crypto_secretbox_xchacha20poly1305_MESSAGEBYTES_MAX);
printf("tv_secretbox_xchacha20: ok\n");
}