-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add tom 256 #941
Add tom 256 #941
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: lovesh <[email protected]>
Wrt I squashed the commits and removed devbox. I also rebased on your PR. |
@Pratyush why did you close this PR? I made it depend on the |
Hm I didn't close it. I think GitHub automatically closes PRs which don't have a base. Could you rebase to master? Thank you, and sorry for the trouble! |
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.
Left some small tweaks.
use ark_secp256k1::{fq::Fq, fr::Fr, Projective as G}; | ||
|
||
bench!( | ||
Name = "Secp256k1", |
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 think this is a copy-paste error?
/// A group element in the secp256k1 curve. | ||
pub type GVar = ProjectiveVar<Config, FqVar>; |
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 here?
@@ -0,0 +1,7 @@ | |||
//! This module implements the R1CS equivalent of `ark_secp256k1`. |
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.
Ditto?
// #[small_subgroup_base = "3"] | ||
// #[small_subgroup_power = "1"] |
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.
// #[small_subgroup_base = "3"] | |
// #[small_subgroup_power = "1"] |
// #[small_subgroup_base = "3"] | ||
// #[small_subgroup_power = "1"] |
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.
// #[small_subgroup_base = "3"] | |
// #[small_subgroup_power = "1"] |
Description
Add the Tom-256 curve from https://eprint.iacr.org/2021/1183 and described in https://neuromancer.sk/std/other/Tom-256
closes: #923
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
Pending
section inCHANGELOG.md
Files changed
in the GitHub PR explorer