mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
More tests for constants
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user