pub type GenericPoseidon2LinearLayersBabyBear = GenericPoseidon2LinearLayersMonty31<BabyBearParameters, BabyBearInternalLayerParameters>;
Expand description
An implementation of the the matrix multiplications in the internal and external layers of Poseidon2.
This can act on [AF; WIDTH] for any AbstractField 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ยง
struct GenericPoseidon2LinearLayersBabyBear { /* private fields */ }