Skip to content
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

Convert amcl to a submodule #13

Merged
merged 8 commits into from Jan 19, 2020
Merged

Convert amcl to a submodule #13

merged 8 commits into from Jan 19, 2020

Conversation

kirk-baird
Copy link
Member

Previously it seems the amcl files had been copied directly from the old Apache Milagro repo which has since been deleted.
This PR would instead use a SigP fork of the new Repo as a submodule.

It will make it far easier to pull changes and make changes to the AMCL repo.

I could not see any major changes to the files other than the director structures and running cargo fmt.

Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
@@ -225,7 +199,11 @@ impl AggregateSignature {
I: Iterator<Item = (G2Point, Vec<G1Point>, Vec<Vec<u8>>, u64)>,
{
let mut final_agg_sig = GroupG2::new(); // Aggregates AggregateSignature
let mut rhs_pairs: Vec<AtePair> = vec![]; // e(H(1,1), P(1,1)), e(H(1,2), P(1,2)), ..., e(H(n,m), P(n,m))
//let mut rhs_pairs: Vec<AtePair> = vec![]; // e(H(1,1), P(1,1)), e(H(1,2), P(1,2)), ..., e(H(n,m), P(n,m))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we delete this guy?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, missed that one!

@paulhauner
Copy link
Member

Looks like cargofmt is unhappy too

Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
@kirk-baird
Copy link
Member Author

Looks like cargofmt is unhappy too

Fixed :)

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.

None yet

2 participants