One more chacha20 test

This commit is contained in:
Frank Denis 2014-05-15 15:26:44 -07:00
parent 0d9f25999a
commit a517bf9f0f
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ static void tv(void)
{"0000000000000000000000000000000000000000000000000000000000000001","0000000000000000"}, {"0000000000000000000000000000000000000000000000000000000000000001","0000000000000000"},
{"0000000000000000000000000000000000000000000000000000000000000000","0000000000000001"}, {"0000000000000000000000000000000000000000000000000000000000000000","0000000000000001"},
{"0000000000000000000000000000000000000000000000000000000000000000","0100000000000000"}, {"0000000000000000000000000000000000000000000000000000000000000000","0100000000000000"},
{"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f","0001020304050607"}
}; };
unsigned char key[crypto_stream_chacha20_KEYBYTES]; unsigned char key[crypto_stream_chacha20_KEYBYTES];
unsigned char nonce[crypto_stream_chacha20_NONCEBYTES]; unsigned char nonce[crypto_stream_chacha20_NONCEBYTES];

View File

@ -2,3 +2,4 @@
[4540f05a9f1fb296d7736e7b208e3c96eb4fe1834688d2604f450952ed432d41bbe2a0b6ea7566d2a5d1e7e20d42af2c53d792b1c43fea817e9ad275] [4540f05a9f1fb296d7736e7b208e3c96eb4fe1834688d2604f450952ed432d41bbe2a0b6ea7566d2a5d1e7e20d42af2c53d792b1c43fea817e9ad275]
[de9cba7bf3d69ef5e786dc63973f653a0b49e015adbff7134fcb7df137821031e85a050278a7084527214f73efc7fa5b5277062eb7a0433e445f41e3] [de9cba7bf3d69ef5e786dc63973f653a0b49e015adbff7134fcb7df137821031e85a050278a7084527214f73efc7fa5b5277062eb7a0433e445f41e3]
[ef3fdfd6c61578fbf5cf35bd3dd33b8009631634d21e42ac33960bd138e50d32111e4caf237ee53ca8ad6426194a88545ddc497a0b466e7d6bbdb004] [ef3fdfd6c61578fbf5cf35bd3dd33b8009631634d21e42ac33960bd138e50d32111e4caf237ee53ca8ad6426194a88545ddc497a0b466e7d6bbdb004]
[f798a189f195e66982105ffb640bb7757f579da31602fc93ec01ac56f85ac3c134a4547b733b46413042c9440049176905d3be59ea1c53f15916155c]