Provide EVP_chacha20_poly1305()
authorjsing <jsing@openbsd.org>
Sat, 20 Aug 2022 19:22:28 +0000 (19:22 +0000)
committerjsing <jsing@openbsd.org>
Sat, 20 Aug 2022 19:22:28 +0000 (19:22 +0000)
commit0f60abb7c63d9bc2330a6ba2b13e5a78c10d1215
tree30b3e3ed2f951a0e2f5eac3b7b068ac6b88371bc
parent1e3a1835d778be25de55a42d8feed6fb413acb7c
Provide EVP_chacha20_poly1305()

EVP_chacha20_poly1305() is an EVP_CIPHER implementation of the
ChaCha20-Poly1305 AEAD. This is potentially used to provide encryption for
the QUIC transport layer.

Where possible, this should be avoided in favour of the significantly saner
EVP_AEAD interface.

ok tb@
lib/libcrypto/evp/e_chacha20poly1305.c
lib/libcrypto/evp/evp.h