GenericPoseidon2LinearLayersBabyBear

Type Alias GenericPoseidon2LinearLayersBabyBear 

Source
pub type GenericPoseidon2LinearLayersBabyBear = GenericPoseidon2LinearLayersMonty31<BabyBearParameters, BabyBearInternalLayerParameters>;
Expand description

An implementation of the matrix multiplications in the internal and external layers of Poseidon2.

This can act on [FA; WIDTH] for any FieldAlgebra which implements multiplication by BabyBear field elements. If you have either [BabyBear::Packing; WIDTH] or [BabyBear; WIDTH] it will be much faster to use Poseidon2BabyBear<WIDTH> instead of building a Poseidon2 permutation using this.

Aliased Typeยง

pub struct GenericPoseidon2LinearLayersBabyBear { /* private fields */ }