HarryR / ethsnarks

A toolkit for viable zk-SNARKS on Ethereum, Web, Mobile and Desktop
GNU Lesser General Public License v3.0
240 stars 57 forks source link

Fix upstream bug with 32bit builds in `sha256_round_function_gadget` #147

Closed HarryR closed 4 years ago

HarryR commented 4 years ago

As per https://github.com/scipr-lab/libsnark/issues/157

This can be fixed in two places:

1) In the sha256_round_function_gadget 2) Altering the constructor of Fp_model