diff --git a/test/default/stream2.c b/test/default/stream2.c index d36bcfbf..64ce7b89 100644 --- a/test/default/stream2.c +++ b/test/default/stream2.c @@ -23,5 +23,9 @@ int main(void) crypto_stream_salsa20(output,4194304,noncesuffix,secondkey); crypto_hash_sha256(h,output,sizeof output); for (i = 0;i < 32;++i) printf("%02x",h[i]); printf("\n"); + + assert(crypto_stream_salsa20_keybytes() > 0U); + assert(crypto_stream_salsa20_noncebytes() > 0U); + return 0; }