-
Notifications
You must be signed in to change notification settings - Fork 27
Changes to support bls12-377 and bw6-761 #225
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
d53ae35
to
e44eb19
Compare
libzeth/tests/circuits/note_test.cpp
Outdated
using HashT = BLAKE2s_256<FieldT>; | ||
using HashTreeT = MiMC_mp_gadget<FieldT>; | ||
using pp = defaults::pp; | ||
using FieldT = defaults::FieldT; |
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.
Same question as above, re: FieldT
->Field
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.
Yes, technically we should. I was hesitant because of the number of lines it might touch, but since you raised it I'll include this change.
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.
I've switched this everywhere. I think we should now be consistent with the type var vs type name convention.
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.
Yes, technically we should. I was hesitant because of the number of lines it might touch, but since you raised it I'll include this change.
Thanks @dtebbs
Yes, I think it's important to be consistent here
Remove ZKSNARK macro from command line. Use ZETH_SNARK connfig variable across all applications. Move zeth_config types (curves, snarks, etc) into libzeth::defaults namespace.
Looking good to me, great to see the library code fully parameterized @dtebbs! |
ppT
, types usepp