Expand description
Legacy WFB ChaCha20-Poly1305 compatibility helpers.
Enums§
- Crypto
Error - Error from legacy WFB ChaCha20-Poly1305 helpers.
Constants§
- CHACH
A20_ POLY1305_ KEY_ LEN - Key length used by the legacy WFB ChaCha20-Poly1305 construction.
- CHACH
A20_ POLY1305_ NONCE_ LEN - Nonce length used by the legacy WFB ChaCha20-Poly1305 construction.
- CHACH
A20_ POLY1305_ TAG_ LEN - Authentication tag length used by the legacy WFB construction.
Functions§
- decrypt_
chacha20poly1305_ legacy - Verify and decrypt the legacy WFB ChaCha20-Poly1305 payload shape.
- decrypt_
chacha20poly1305_ legacy_ into - Verify and decrypt into a reusable caller-owned buffer.
- encrypt_
chacha20poly1305_ legacy - Encrypt and authenticate using the legacy WFB ChaCha20-Poly1305 shape.