-
Notifications
You must be signed in to change notification settings - Fork 3
Remove generic gadgets (depends on #83) #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ac84d21 to
fd38480
Compare
fd38480 to
866ae16
Compare
b12d268 to
6ca1062
Compare
866ae16 to
64c6ec8
Compare
64c6ec8 to
51708a5
Compare
51708a5 to
dbbea73
Compare
dbbea73 to
fd75604
Compare
fd75604 to
8e4e34b
Compare
AntoineRondelet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks @dtebbs
| template<typename wppT, typename nverifierT> | ||
| class verification_key_scalar_hash_gadget | ||
| : public libsnark::gadget<libff::Fr<wppT>> | ||
| class verification_key_hash_gadget : public libsnark::gadget<libff::Fr<wppT>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: verification_key_scalar_hash_gadget is renamed verification_key_hash_gadget, so the default VK hashing behavior is using an algebraic hash like MiMC defined over the relevant prime field. We remove support for the "standard" VK hasher here.
| const libff::bigint<wn> &wmodulus, | ||
| mp_size_t nn, | ||
| const libff::bigint<nn> &nmodulus> | ||
| void fp_from_fp( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: Moved to libff.
Depends on