c2_chacha

Type Alias ChaCha8

Source
pub type ChaCha8 = ChaChaAny<U8, U4, O>;
Expand description

Similar to ChaCha20, but with fewer rounds for higher performance.

Aliased Type§

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

Fields§

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