diff options
author | lloyd <[email protected]> | 2014-12-31 14:21:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-31 14:21:57 +0000 |
commit | 9a59362b3b754abf1d06c14cfa7decf9ef16bd6e (patch) | |
tree | b7ba5620d46e7dd62672e38c16b404cc80076055 /src/tests/data | |
parent | d37a40952c0f0940b8b6ddfd245504cad761bf9a (diff) |
Support the older ChaCha20Poly1305 AEAD from draft-agl-tls-chacha20poly1305-04
which we distinguish by the nonce size (always 64 bits in this format,
always 96 bits in the CFRG document).
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/aead/chacha20poly1305.vec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/data/aead/chacha20poly1305.vec b/src/tests/data/aead/chacha20poly1305.vec index 5b5f8397d..e62b29c69 100644 --- a/src/tests/data/aead/chacha20poly1305.vec +++ b/src/tests/data/aead/chacha20poly1305.vec @@ -1,4 +1,12 @@ [ChaCha20Poly1305] +# draft-agl-tls-chacha20poly1305-04 + +Key = 4290bcb154173531f314af57f3be3b5006da371ece272afa1b5dbdd1100a1007 +In = 86d09974840bded2a5ca +Nonce = cd7cf67be39c794a +AD = 87e229d4500845a079c0 +Out = e3e446f7ede9a19b62a4677dabf4e3d24b876bb284753896e1d6 + # draft-irtf-cfrg-chacha20-poly1305-03 In = 4C616469657320616E642047656E746C656D656E206F662074686520636C617373206F66202739393A204966204920636F756C64206F6666657220796F75206F6E6C79206F6E652074697020666F7220746865206675747572652C2073756E73637265656E20776F756C642062652069742E AD = 50515253C0C1C2C3C4C5C6C7 |