# [[Encrypt and Decrypt with Known Symmetric Key in AEAD]]
#
# Register a symmetric key and perform encrypt and decrypt using the symmetric key.
# AEAD (ChaCha20Poly1305) mode
#
# Following normal encrypt+decrypt various tag lengths are used both valid and
# invalid.
#
# See https://tools.ietf.org/html/rfc8439 for the origin of the test vectors
#
# Note: the NONCE also has the 07000000 prepended to it as a fixed constant noted in the test
# data
#
# KEY: 808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f
# INPUT: 4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6e6c79206f6e652074697020666f7220746865206675747572652c2073756e73637265656e20776f756c642062652069742e
# NONCE: 070000004041424344454647
# AD: 50515253c0c1c2c3c4c5c6c7
# OUTPUT: d31a8d34648e60db7b86afbc53ef7ec2a4aded51296e08fea9e2b5a736ee62d63dbea45e8ca9671282fafb69da92728b1a71de0a9e060b2905d6a5b67ecd3b3692ddbd7f2d778b8c9803aee328091b58fab324e4fad675945585808b4831d7bc3ff4def08e4b7a9de576d26586cec64b6116
# TAG: 1ae10b594f09e26a7e902ecbd0600691
#
#