Poseidon2SubCols

Type Alias Poseidon2SubCols 

Source
pub type Poseidon2SubCols<F, const SBOX_REGISTERS: usize> = Poseidon2Cols<F, POSEIDON2_WIDTH, BABY_BEAR_POSEIDON2_SBOX_DEGREE, SBOX_REGISTERS, BABY_BEAR_POSEIDON2_HALF_FULL_ROUNDS, BABY_BEAR_POSEIDON2_PARTIAL_ROUNDS>;

Aliased Type§

#[repr(C)]
pub struct Poseidon2SubCols<F, const SBOX_REGISTERS: usize> { pub export: F, pub inputs: [F; 16], pub beginning_full_rounds: [FullRound<F, 16, 7, SBOX_REGISTERS>; 4], pub partial_rounds: [PartialRound<F, 16, 7, SBOX_REGISTERS>; 13], pub ending_full_rounds: [FullRound<F, 16, 7, SBOX_REGISTERS>; 4], }

Fields§

§export: F§inputs: [F; 16]§beginning_full_rounds: [FullRound<F, 16, 7, SBOX_REGISTERS>; 4]

Beginning Full Rounds

§partial_rounds: [PartialRound<F, 16, 7, SBOX_REGISTERS>; 13]

Partial Rounds

§ending_full_rounds: [FullRound<F, 16, 7, SBOX_REGISTERS>; 4]

Ending Full Rounds