pub type XChaCha8 = ChaChaAny<U24, U4, X>;
Expand description
Constructed analogously to XChaCha20, but with fewer rounds for higher performance; mixes during initialization to support both a long nonce and a full-length (64-bit) block counter.
Aliased Type§
struct XChaCha8 {
pub state: Buffer,
pub _nonce_size: UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>,
pub _rounds: UInt<UInt<UInt<UTerm, B1>, B0>, B0>,
pub _is_x: X,
}
Fields§
§state: Buffer
§_nonce_size: UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>
§_rounds: UInt<UInt<UInt<UTerm, B1>, B0>, B0>
§_is_x: X