iden3 / go-iden3-crypto

Go implementation of some cryptographic primitives (that fit inside the SNARK field) and compatible with circomlib
Apache License 2.0
117 stars 38 forks source link

Broken on 32 bit architectures #17

Closed ed255 closed 4 years ago

ed255 commented 4 years ago

The addition of goff came with a caveat: goff is not yet compatible with 32 bit architectures. I opened an issue on the goff repository: https://github.com/ConsenSys/goff/issues/8

ed255 commented 4 years ago

To test the bug just run the tests setting GOARCH to 32 bits arch:

GOARCH=386 go test -count=1 -v github.com/iden3/go-iden3-crypto/poseidon