mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-24 21:21:10 +01:00
Declare algorithms for ChaCha20 and ChaCha20-Poly1305, and a corresponding (common) key type. Don't declare Poly1305 as a separate algorithm because it's a one-time authenticator, not a MAC, so the API isn't suitable for it (no way to use a nonce).