Extend Poseidon to 16 inputs (#37)

* Extend poseidon to 16 inputs. Better initialization of Poseidon constants
* Update deps
* Fix linter warnings
* Test vectors for poseidon with 14 inputs
This commit is contained in:
Oleksandr Brezhniev
2021-10-06 13:11:09 +03:00
committed by GitHub
parent 933c28a8d7
commit ef9f86210a
9 changed files with 25299 additions and 24896 deletions

View File

@@ -24,7 +24,7 @@ func init() {
qString := "21888242871839275222246405745257275088548364400416034343698204186575808495617"
var ok bool
Q, ok = new(big.Int).SetString(qString, 10)
Q, ok = new(big.Int).SetString(qString, 10) //nolint:gomnd
if !ok {
panic(fmt.Sprintf("Bad base 10 string %s", qString))
}