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

Remove unused curves #320

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Remove unused curves #320

merged 1 commit into from
Aug 29, 2024

Conversation

vo-nil
Copy link
Contributor

@vo-nil vo-nil commented Aug 28, 2024

This PR removes unused curves:
brainpool family (160..512 bits)
frp_v1
gost_A
NIST curves: p192..p521
x9.62
sm2p_v1
Curves that are to be removed have low (if any) coverage with tests, some have missing parameters and are not used widely in ZK.

The curves that remain are:
mnt4 and mnt6 (298 bits) Security of MNT curves is 77 and 87 bits respectively
bls12-381 and bls12-377
alt_bn128
pallas and vesta
families of secp_k1 and secp_r1 (160..521 bits)
curve25519 and ed25519
jubjub and babyjubjub

closes #319

@vo-nil vo-nil self-assigned this Aug 28, 2024
@vo-nil vo-nil requested a review from martun August 29, 2024 06:45
@martun martun self-requested a review August 29, 2024 06:50
Add more tests for curves, deal with warnings #319

Add C++17 requirement #319

Reworked tests for marshalling #319
@vo-nil vo-nil merged commit 4a10666 into master Aug 29, 2024
2 checks passed
@vo-nil vo-nil deleted the 319-remove-unused-curves branch August 29, 2024 06:52
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.

Remove unused curves from crypto suite
2 participants