diff options
author | Jack Lloyd <[email protected]> | 2019-07-20 07:49:23 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-07-20 07:49:23 -0400 |
commit | 3b82326d826c39b49949cdd11c8ac87d7eec348c (patch) | |
tree | d17a9fa58134c8754bdb1fc6327043c1fad227b7 /src | |
parent | aeed6673fd71aca347bdfa859131ad34762e2743 (diff) |
Remove duplicated test, add XChaCha20Poly1305 test from i-d
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/data/aead/chacha20poly1305.vec | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/tests/data/aead/chacha20poly1305.vec b/src/tests/data/aead/chacha20poly1305.vec index 97e678db2..b41507136 100644 --- a/src/tests/data/aead/chacha20poly1305.vec +++ b/src/tests/data/aead/chacha20poly1305.vec @@ -10,12 +10,6 @@ Out = e3e446f7ede9a19b62a4677dabf4e3d24b876bb284753896e1d6 # From draft-irtf-cfrg-chacha20-poly1305-03 -In = 4C616469657320616E642047656E746C656D656E206F662074686520636C617373206F66202739393A204966204920636F756C64206F6666657220796F75206F6E6C79206F6E652074697020666F7220746865206675747572652C2073756E73637265656E20776F756C642062652069742E -AD = 50515253C0C1C2C3C4C5C6C7 -Key = 808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9F -Nonce = 070000004041424344454647 -Out = D31A8D34648E60DB7B86AFBC53EF7EC2A4ADED51296E08FEA9E2B5A736EE62D63DBEA45E8CA9671282FAFB69DA92728B1A71DE0A9E060B2905D6A5B67ECD3B3692DDBD7F2D778B8C9803AEE328091B58FAB324E4FAD675945585808B4831D7BC3FF4DEF08E4B7A9DE576D26586CEC64B61161AE10B594F09E26A7E902ECBD0600691 - Key = 1C9240A5EB55D38AF333888604F6B5F0473917C1402B80099DCA5CBC207075C0 Nonce = 000000000102030405060708 AD = F33388860000000000004E91 @@ -51,6 +45,14 @@ AD = CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC In = DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA Out = A0C9391216A037370BDFF40626C5DD13D45447FBEBA3C985BF65FBCBE51663F9214F9C6757F9FC0CFF3135E68DC7251F +# XChaCha20Poly1305 from draft-irtf-cfrg-xchacha-00 + +In = 4C616469657320616E642047656E746C656D656E206F662074686520636C617373206F66202739393A204966204920636F756C64206F6666657220796F75206F6E6C79206F6E652074697020666F7220746865206675747572652C2073756E73637265656E20776F756C642062652069742E +AD = 50515253C0C1C2C3C4C5C6C7 +Key = 808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9F +Nonce = 404142434445464748494a4b4c4d4e4f5051525354555657 +Out = bd6d179d3e83d43b9576579493c0e939572a1700252bfaccbed2902c21396cbb731c7f1b0b4aa6440bf3a82f4eda7e39ae64c6708c54c216cb96b72e1213b4522f8c9ba40db5d945b11b69b982c1bb9e3f3fac2bc369488f76b2383565d3fff921f9664c97637da9768812f615c68b13b52ec0875924c1c7987947deafd8780acf49 + # XChaCha20Poly1305 from golang/crypto and wireguard-go tests Key = 0000000000000000000000000000000000000000000000000000000000000000 |