chacha20: test more than 1 block

This commit is contained in:
Frank Denis
2014-09-18 22:13:00 -07:00
parent ef86392f39
commit 4de4e57a8e
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ static void tv(void)
"0001020304050607" } };
unsigned char key[crypto_stream_chacha20_KEYBYTES];
unsigned char nonce[crypto_stream_chacha20_NONCEBYTES];
unsigned char out[60];
char out_hex[60 * 2 + 1];
unsigned char out[160];
char out_hex[160 * 2 + 1];
size_t i = 0U;
do {