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

add EC Curve secp256k1 #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pdtgct
Copy link

@pdtgct pdtgct commented Nov 16, 2022

This PR adds support for Elliptic Curve S256, aka secp256k1. The curve is defined in Standards for Efficient Cryptography, SEC 2: Recommended Elliptic Curve Domain Parameters, Section 2.4.1 and commonly used in Blockchain systems, starting with Bitcoin. See Bitcoin Wiki secp256k1.

Go Version Change

Due to the minimum requirement of the library dependency on github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0, this change increases the minimum version of go to 1.17.

Travis CI failures

⚠️ The Travis CI builds are failing because Travis is configured to use Go 1.13. ⚠️

If you could update Travis CI to use Go 1.17 those errors would be resolved.

PR Additions

The contents of this PR with secp256k1 have been used in an internal project that used SoftHSM2.

@pdtgct
Copy link
Author

pdtgct commented Nov 16, 2022

I will keep this Pull Request open, but this project does not appear to be currently maintained.

If anyone is interested in the content presented here, I will be working off a Fork, at https://github.com/pdtgct/crypto11.

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.

1 participant