Now, I'm unsure where exactly the generate_r1cs_witness is being directed to due to my beginners knowledge of c++. My guess is it is related to libsnark/libsnark/gadgetlib1/gadgets/hashes/hash_io.tcc. Does this sound on track? Any guidance would be appreciated.
I've been working on understanding an odd bug related to a SHA256 gadget apart of the ethsnarks repo. The issue can be found here: https://github.com/HarryR/ethsnarks/issues/27.
In particular, on the following code, the leftmost byte is zero'd out for reasons I'm having a hard time understanding.
Here's the output from my mac
Here's the output from my linux (running Ubuntu 18.04 on a Microsoft Surface 4)
Now, I'm unsure where exactly the
generate_r1cs_witness
is being directed to due to my beginners knowledge of c++. My guess is it is related tolibsnark/libsnark/gadgetlib1/gadgets/hashes/hash_io.tcc
. Does this sound on track? Any guidance would be appreciated.