Expand description
ChaCha20-Poly1305 over caller buffers.
Functions§
- decrypt_
in_ place - Verifies
tagand decryptsbufferin place; fails closedCryptoFailureon tag mismatch — buffer contents are unspecified on failure. - encrypt_
in_ place - ChaCha20-Poly1305 encrypts
bufferin place under(key, nonce, aad), writing the tag totag_out. Caller-buffered, no allocation.