Skip to content

Conversation

@dtebbs
Copy link
Contributor

@dtebbs dtebbs commented Sep 23, 2021

@dtebbs dtebbs force-pushed the remove-generic-gadgets branch 4 times, most recently from ac84d21 to fd38480 Compare October 15, 2021 17:50
@dtebbs dtebbs changed the title [WIP] Remove generic gadgets [WIP] Remove generic gadgets (depends on #83) Oct 18, 2021
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from fd38480 to 866ae16 Compare October 19, 2021 15:41
@dtebbs dtebbs changed the title [WIP] Remove generic gadgets (depends on #83) Remove generic gadgets (depends on #83) Oct 19, 2021
@dtebbs dtebbs marked this pull request as ready for review October 19, 2021 15:42
@dtebbs dtebbs force-pushed the update-zeth branch 2 times, most recently from b12d268 to 6ca1062 Compare October 21, 2021 11:11
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from 866ae16 to 64c6ec8 Compare October 21, 2021 11:25
@AntoineRondelet AntoineRondelet changed the base branch from update-zeth to develop October 21, 2021 12:40
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from 64c6ec8 to 51708a5 Compare October 22, 2021 16:57
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from 51708a5 to dbbea73 Compare November 1, 2021 13:25
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from dbbea73 to fd75604 Compare November 1, 2021 18:30
@dtebbs dtebbs force-pushed the remove-generic-gadgets branch from fd75604 to 8e4e34b Compare November 2, 2021 10:51
Copy link
Contributor

@AntoineRondelet AntoineRondelet left a 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>>
Copy link
Contributor

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(
Copy link
Contributor

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.

@AntoineRondelet AntoineRondelet merged commit c631b29 into develop Nov 2, 2021
@AntoineRondelet AntoineRondelet deleted the remove-generic-gadgets branch November 4, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants