Skip to content

Commit

Permalink
Merge pull request #308 from ConsenSys/304-field-agnostic-fiat-shamir…
Browse files Browse the repository at this point in the history
…-challenge-names

304 field agnostic fiat shamir challenge names
  • Loading branch information
Tabaie committed Feb 10, 2023
2 parents 6f591e7 + a40378c commit a3a667b
Show file tree
Hide file tree
Showing 47 changed files with 542 additions and 1,467 deletions.
5 changes: 4 additions & 1 deletion accumulator/merkletree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ func sum(h hash.Hash, data ...[]byte) []byte {

for _, d := range data {
// the Hash interface specifies that Write never returns an error
_, _ = h.Write(d)
_, err := h.Write(d)
if err != nil {
panic(err)
}
}
return h.Sum(nil)
}
Expand Down
46 changes: 0 additions & 46 deletions ecc/bls12-377/fr/mimc/decompose.go

This file was deleted.

53 changes: 0 additions & 53 deletions ecc/bls12-377/fr/mimc/decompose_test.go

This file was deleted.

48 changes: 28 additions & 20 deletions ecc/bls12-377/fr/mimc/mimc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 19 additions & 23 deletions ecc/bls12-377/twistededwards/eddsa/eddsa.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 0 additions & 46 deletions ecc/bls12-378/fr/mimc/decompose.go

This file was deleted.

53 changes: 0 additions & 53 deletions ecc/bls12-378/fr/mimc/decompose_test.go

This file was deleted.

Loading

0 comments on commit a3a667b

Please sign in to comment.