c2_chacha

Type Alias ChaCha20

Source
pub type ChaCha20 = ChaChaAny<U8, U10, O>;
Expand description

ChaCha20, as used in several standards; from Bernstein’s original publication.

Aliased Type§

struct ChaCha20 {
    pub state: Buffer,
    pub _nonce_size: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>,
    pub _rounds: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>,
    pub _is_x: O,
}

Fields§

§state: Buffer§_nonce_size: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>§_rounds: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>§_is_x: O