pub type XChaCha20 = ChaChaAny<U24, U10, X>;
Expand description
Constructed analogously to XSalsa20; mixes during initialization to support both a long nonce and a full-length (64-bit) block counter.
Aliased Type§
struct XChaCha20 {
pub state: Buffer,
pub _nonce_size: UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>,
pub _rounds: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, 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<UInt<UTerm, B1>, B0>, B1>, B0>
§_is_x: X