Expand description
The prime field known as Goldilocks, defined as F_p
where p = 2^64 - 2^32 + 1
.
Structs§
- Goldilocks
- The prime field known as Goldilocks, defined as
F_p
wherep = 2^64 - 2^32 + 1
. - MdsMatrix
Goldilocks - Poseidon2
External Layer Goldilocks - The external layers of the Poseidon2 permutation.
- Poseidon2
External Layer GoldilocksHL - The external layers of the Poseidon2 permutation used by Horizen Labs.
- Poseidon2
Internal Layer Goldilocks - The internal layers of the Poseidon2 permutation.
- Small
Convolve Goldilocks - Instantiate convolution for “small” RHS vectors over Goldilocks.
Constants§
- HL_
GOLDILOCKS_ 8_ EXTERNAL_ ROUND_ CONSTANTS - HL_
GOLDILOCKS_ 8_ INTERNAL_ ROUND_ CONSTANTS - MATRIX_
DIAG_ 8_ GOLDILOCKS - MATRIX_
DIAG_ 12_ GOLDILOCKS - MATRIX_
DIAG_ 16_ GOLDILOCKS - MATRIX_
DIAG_ 20_ GOLDILOCKS
Type Aliases§
- Poseidon2
Goldilocks - An implementation of the Poseidon2 hash function for the Goldilocks field.
- Poseidon2
GoldilocksHL - A recreating of the Poseidon2 implementation by Horizen Labs for the Goldilocks field.