mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
More tests for constants
This commit is contained in:
parent
fcc2513967
commit
f41bfa9b94
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user