Skip to content

feat: Add BLS signature verification for BN254#89

Merged
jonathanpwang merged 7 commits into
axiom-crypto:community-editionfrom
flyingnobita:feature/bls-signature
Aug 10, 2023
Merged

feat: Add BLS signature verification for BN254#89
jonathanpwang merged 7 commits into
axiom-crypto:community-editionfrom
flyingnobita:feature/bls-signature

Conversation

@flyingnobita

Copy link
Copy Markdown
Contributor

No description provided.

@jonathanpwang jonathanpwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some code quality comments and one change regarding add_unequal.

Comment thread halo2-ecc/src/bn254/bls_signature.rs Outdated
Comment thread halo2-ecc/src/bn254/bls_signature.rs Outdated

@jonathanpwang jonathanpwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for making the changes so quickly.

Some minor change around avoiding (0,0) identity point.

Also missed last time that this new function should be returning 0 or 1, not an Fp12 point.

Comment thread halo2-ecc/src/bn254/bls_signature.rs Outdated
Comment thread halo2-ecc/src/bn254/bls_signature.rs Outdated
Comment thread halo2-ecc/src/bn254/bls_signature.rs
Comment thread halo2-ecc/src/bn254/tests/bls_signature.rs Outdated
Comment thread halo2-ecc/src/bn254/tests/bls_signature.rs Outdated

@jonathanpwang jonathanpwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code looks good - why was the halo2_proofs repo changed? We'll need to change it back for it to merge.

Also please add your tests to the halo2-ecc git CI workflow.

Comment thread halo2-base/Cargo.toml Outdated
Comment thread halo2-base/Cargo.toml Outdated
Comment thread halo2-ecc/src/bn254/tests/bls_signature.rs Outdated
Comment thread halo2-base/Cargo.toml Outdated
@jonathanpwang

Copy link
Copy Markdown
Contributor

LGTM

@jonathanpwang jonathanpwang merged commit f2eacb1 into axiom-crypto:community-edition Aug 10, 2023
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.

2 participants