Structs§
- Baby
Bear Internal Layer Parameters - Contains data needed to define the internal layers of the Poseidon2 permutation.
- Baby
Bear Parameters - MDSBaby
Bear Data
Constants§
- BABYBEAR_
RC16_ EXTERNAL_ FINAL - Final round constants for the 16-width Poseidon2’s external layer on BabyBear.
- BABYBEAR_
RC16_ EXTERNAL_ INITIAL - Initial round constants for the 16-width Poseidon2 external layer on BabyBear.
- BABYBEAR_
RC16_ INTERNAL - Round constants for the 16-width Poseidon2’s internal layer on BabyBear.
- BABYBEAR_
RC24_ EXTERNAL_ FINAL - Final round constants for the 24-width Poseidon2’s external layer on BabyBear.
- BABYBEAR_
RC24_ EXTERNAL_ INITIAL - Initial round constants for the 24-width Poseidon2 external layer on BabyBear.
- BABYBEAR_
RC24_ INTERNAL - Round constants for the 24-width Poseidon2’s internal layer on BabyBear.
Functions§
- default_
babybear_ poseidon2_ 16 - A default Poseidon2 for BabyBear using the round constants from the Horizon Labs implementation.
- default_
babybear_ poseidon2_ 24 - A default Poseidon2 for BabyBear using the round constants from the Horizon Labs implementation.
Type Aliases§
- Baby
Bear - The prime field
2^31 - 2^27 + 1, a.k.a. the Baby Bear field. - Generic
Poseidon2 Linear Layers Baby Bear - An implementation of the matrix multiplications in the internal and external layers of Poseidon2.
- MdsMatrix
Baby Bear - Poseidon2
Baby Bear - An implementation of the Poseidon2 hash function specialised to run on the current architecture.
- Poseidon2
External Layer Baby Bear - Poseidon2
Internal Layer Baby Bear