pub type GenericPoseidon2LinearLayersKoalaBear = GenericPoseidon2LinearLayersMonty31<KoalaBearParameters, KoalaBearInternalLayerParameters>;
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 KoalaBear field elements.
If you have either [KoalaBear::Packing; WIDTH]
or [KoalaBear; WIDTH]
it will be much faster
to use Poseidon2KoalaBear<WIDTH>
instead of building a Poseidon2 permutation using this.
Aliased Typeยง
pub struct GenericPoseidon2LinearLayersKoalaBear { /* private fields */ }