Structs§
- Koala
Bear Internal Layer Parameters - Contains data needed to define the internal layers of the Poseidon2 permutation.
- Koala
Bear Parameters - Koala
Bear Poseidon Parameters - Parameters for the Poseidon1 internal layer on KoalaBear.
- MDSKoala
Bear Data
Constants§
- KOALABEAR_
POSEIDO N1_ RC_ 16 - Round constants for width-16 Poseidon1 on KoalaBear.
- KOALABEAR_
POSEIDO N1_ RC_ 24 - Round constants for width-24 Poseidon1 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ HALF_ FULL_ ROUNDS - Number of full rounds per half for KoalaBear Poseidon2 (
RF / 2). - KOALABEAR_
POSEIDO N2_ PARTIAL_ ROUNDS_ 16 - Number of partial rounds for KoalaBear Poseidon2 (width 16).
- KOALABEAR_
POSEIDO N2_ PARTIAL_ ROUNDS_ 24 - Number of partial rounds for KoalaBear Poseidon2 (width 24).
- KOALABEAR_
POSEIDO N2_ RC_ 16_ EXTERNAL_ FINAL - Round constants for width-16 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ RC_ 16_ EXTERNAL_ INITIAL - Round constants for width-16 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ RC_ 16_ INTERNAL - Round constants for width-16 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ RC_ 24_ EXTERNAL_ FINAL - Round constants for width-24 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ RC_ 24_ EXTERNAL_ INITIAL - Round constants for width-24 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDO N2_ RC_ 24_ INTERNAL - Round constants for width-24 Poseidon2 on KoalaBear.
- KOALABEAR_
POSEIDON_ HALF_ FULL_ ROUNDS - Number of full rounds per half for KoalaBear Poseidon (
RF / 2). - KOALABEAR_
POSEIDON_ PARTIAL_ ROUNDS_ 16 - Number of partial rounds for KoalaBear Poseidon (width 16).
- KOALABEAR_
POSEIDON_ PARTIAL_ ROUNDS_ 24 - Number of partial rounds for KoalaBear Poseidon (width 24).
- KOALABEAR_
S_ BOX_ DEGREE - S-box degree for KoalaBear Poseidon1.
Functions§
- default_
koalabear_ poseidon1_ 16 - Create a default width-16 Poseidon1 permutation for KoalaBear.
- default_
koalabear_ poseidon1_ 24 - Create a default width-24 Poseidon1 permutation for KoalaBear.
- default_
koalabear_ poseidon2_ 16 - Create a default width-16 Poseidon2 permutation for KoalaBear.
- default_
koalabear_ poseidon2_ 24 - Create a default width-24 Poseidon2 permutation for KoalaBear.
Type Aliases§
- Generic
Poseidon1 Linear Layers Koala Bear - Generic Poseidon1 linear layers for KoalaBear.
- Generic
Poseidon2 Linear Layers Koala Bear - An implementation of the matrix multiplications in the internal and external layers of Poseidon2.
- Koala
Bear - The prime field
2^31 - 2^24 + 1, a.k.a. the Koala Bear field. - MdsMatrix
Koala Bear - Poseidon1
External Layer Koala Bear - External (full round) layer for KoalaBear Poseidon1.
- Poseidon1
Internal Layer Koala Bear - Internal (partial round) layer for KoalaBear Poseidon1.
- Poseidon1
Koala Bear - The Poseidon1 permutation for KoalaBear.
- Poseidon2
External Layer Koala Bear - Poseidon2
Internal Layer Koala Bear - Poseidon2
Koala Bear - An implementation of the Poseidon2 hash function specialised to run on the current architecture.