Skip to content

Commit

Permalink
update poseidon componbent #16
Browse files Browse the repository at this point in the history
  • Loading branch information
SK0M0R0H committed Apr 12, 2022
1 parent 4230caf commit ca91456
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ namespace nil {
W0, W1, W2, W3, W4,
W5, W6, W7, W8, W9,
W10, W11, W12, W13, W14> {
public:
constexpr static const std::size_t state_size = 3;
constexpr static const std::size_t rounds_amount = 55;

private:

typedef snark::plonk_constraint_system<BlueprintFieldType,
ArithmetizationParams> ArithmetizationType;

using var = snark::plonk_variable<BlueprintFieldType>;

constexpr static const std::size_t state_size = 3;
constexpr static const std::size_t rounds_amount = 55;

constexpr static const std::size_t rounds_per_row = 5;

constexpr static const std::size_t sbox_alpha = 7;
Expand Down Expand Up @@ -381,6 +383,7 @@ namespace nil {


public:
constexpr static const std::size_t rate = 2;

constexpr static const std::size_t required_rows_amount = 12;

Expand Down

0 comments on commit ca91456

Please sign in to comment.