c2_chacha

Type Alias ChaCha12

Source
pub type ChaCha12 = ChaChaAny<U8, U6, O>;
Expand description

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

Aliased Type§

struct ChaCha12 {
    pub state: Buffer,
    pub _nonce_size: UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>,
    pub _rounds: UInt<UInt<UInt<UTerm, B1>, B1>, 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>, B1>, B0>§_is_x: O