#include <poseidon2_params.hpp>
Definition at line 16 of file poseidon2_params.hpp.
◆ FF
constexpr size_t bb::crypto::Poseidon2Bn254ScalarFieldParams::d = 5 |
|
staticconstexpr |
◆ internal_matrix
constexpr std::array<std::array<FF, t>, t> bb::crypto::Poseidon2Bn254ScalarFieldParams::internal_matrix |
|
staticconstexpr |
Initial value:= {
std::array<FF, t>{
FF(std::string(
"0x10dc6e9c006ea38b04b1e03b4bd9490c0d03f98929ca1d7fb56821fd19d3b6e8")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
},
std::array<FF, t>{
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0c28145b6a44df3e0149b3d0a30b3bb599df9756d4dd9b84a86b38cfb45a740c")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
},
std::array<FF, t>{
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x00544b8338791518b2c7645a50392798b21f75bb60e3596170067d00141cac16")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
},
std::array<FF, t>{
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x222c01175718386f2e2e82eb122789e352e105a3b8fa852613bc534433ee428c")),
},
}
Definition at line 31 of file poseidon2_params.hpp.
◆ internal_matrix_diagonal
constexpr std::array<FF, t> bb::crypto::Poseidon2Bn254ScalarFieldParams::internal_matrix_diagonal |
|
staticconstexpr |
Initial value:= {
FF(std::string(
"0x10dc6e9c006ea38b04b1e03b4bd9490c0d03f98929ca1d7fb56821fd19d3b6e7")),
FF(std::string(
"0x0c28145b6a44df3e0149b3d0a30b3bb599df9756d4dd9b84a86b38cfb45a740b")),
FF(std::string(
"0x00544b8338791518b2c7645a50392798b21f75bb60e3596170067d00141cac15")),
FF(std::string(
"0x222c01175718386f2e2e82eb122789e352e105a3b8fa852613bc534433ee428b")),
}
Definition at line 24 of file poseidon2_params.hpp.
◆ round_constants
constexpr std::array<std::array<FF, t>, rounds_f + rounds_p> bb::crypto::Poseidon2Bn254ScalarFieldParams::round_constants |
|
staticconstexpr |
◆ rounds_f
constexpr size_t bb::crypto::Poseidon2Bn254ScalarFieldParams::rounds_f = 8 |
|
staticconstexpr |
◆ rounds_p
constexpr size_t bb::crypto::Poseidon2Bn254ScalarFieldParams::rounds_p = 56 |
|
staticconstexpr |
◆ sbox_size
constexpr size_t bb::crypto::Poseidon2Bn254ScalarFieldParams::sbox_size = 254 |
|
staticconstexpr |
constexpr size_t bb::crypto::Poseidon2Bn254ScalarFieldParams::t = 4 |
|
staticconstexpr |
◆ TEST_VECTOR_INPUT
constexpr std::array<FF, t> bb::crypto::Poseidon2Bn254ScalarFieldParams::TEST_VECTOR_INPUT |
|
staticconstexpr |
Initial value:{
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000000")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000001")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000002")),
FF(std::string(
"0x0000000000000000000000000000000000000000000000000000000000000003")),
}
Definition at line 445 of file poseidon2_params.hpp.
◆ TEST_VECTOR_OUTPUT
constexpr std::array<FF, t> bb::crypto::Poseidon2Bn254ScalarFieldParams::TEST_VECTOR_OUTPUT |
|
staticconstexpr |
Initial value:{
FF(std::string(
"0x01bd538c2ee014ed5141b29e9ae240bf8db3fe5b9a38629a9647cf8d76c01737")),
FF(std::string(
"0x239b62e7db98aa3a2a8f6a0d2fa1709e7a35959aa6c7034814d9daa90cbac662")),
FF(std::string(
"0x04cbb44c61d928ed06808456bf758cbf0c18d1e15a7b6dbc8245fa7515d5e3cb")),
FF(std::string(
"0x2e11c5cff2a22c64d01304b778d78f6998eff1ab73163a35603f54794c30847a")),
}
Definition at line 451 of file poseidon2_params.hpp.
The documentation for this struct was generated from the following file: