Trait Rounds

Source
pub trait Rounds: Copy {
    const COUNT: usize;
}
Expand description

Marker type for a number of ChaCha rounds to perform.

Required Associated Constants§

Source

const COUNT: usize

The amount of rounds to perform

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Rounds for R8

Source§

const COUNT: usize = 4usize

Source§

impl Rounds for R12

Source§

const COUNT: usize = 6usize

Source§

impl Rounds for R20

Source§

const COUNT: usize = 10usize