Skip to main content

Module chacha

Module chacha 

Source
Expand description

RFC 8439 ChaCha20, Poly1305, and the ChaCha20-Poly1305 AEAD.

Not FIPS-approved. These are included because they are the right answer on hardware without AES acceleration, and because interoperating with TLS 1.3, WireGuard, and age requires them. The ontology marks the whole family fips_status: NotApproved, and ic-fips refuses to construct them while the module is in approved mode.

Structs§

ChaCha20Poly1305
RFC 8439 ChaCha20-Poly1305 AEAD.
Poly1305
RFC 8439 Poly1305 one-time authenticator.

Functions§

chacha20_xor
XOR data with the ChaCha20 keystream, starting at counter.