Browse Source

Merge pull request #50 from tornadocash/poseidon-pr-2

add poseidon comments and refactorings
master
Jordi Baylina 4 years ago
committed by GitHub
parent
commit
01da5f90db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 100 additions and 99 deletions
  1. +6
    -95
      circuits/poseidon.circom
  2. +94
    -0
      circuits/poseidon_constants.circom
  3. +0
    -4
      src/poseidon_gencontract.js

+ 6
- 95
circuits/poseidon.circom
File diff suppressed because it is too large
View File


+ 94
- 0
circuits/poseidon_constants.circom
File diff suppressed because it is too large
View File


+ 0
- 4
src/poseidon_gencontract.js

@ -23,10 +23,6 @@ function createCode(nInputs) {
const nRoundsF = N_ROUNDS_F;
const nRoundsP = N_ROUNDS_P[t - 2];
// const nRoundsF = 2;
// const nRoundsP = 2;
const C = new Contract();
function saveM() {

Loading…
Cancel
Save