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

Modify new EC private key constructors to take EC_Scalar #4563

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

randombit
Copy link
Owner

In #4437 new EC private key constructors were added, allowing deprecation of a quite confusing combined keygen/load constructor. However these new constructors take their input as a BigInt rather than the underlying EC_Scalar.

Since #4437 has not been included in a release yet we can change these to take EC_Scalar directly, and avoid further entrenchment of BigInt in EC related interfaces.

@randombit randombit requested a review from reneme January 17, 2025 10:57
@coveralls
Copy link

coveralls commented Jan 17, 2025

Coverage Status

coverage: 91.212% (+0.006%) from 91.206%
when pulling 4bfc65f on jack/new-new-ec-key-constructors
into bc9b530 on master.

@randombit randombit force-pushed the jack/new-new-ec-key-constructors branch from f5fcb83 to 4bfc65f Compare January 17, 2025 13:58
In #4437 new EC private key constructors were added, allowing
deprecation of a quite confusing combined keygen/load constructor.
However these new constructors take their input as a BigInt rather
than the underlying EC_Scalar.

Since #4437 has not been included in a release yet we can change these
to take EC_Scalar directly, and avoid further entrenchment of BigInt in
EC related interfaces.
@randombit randombit merged commit dabbc09 into master Jan 17, 2025
39 checks passed
@randombit randombit deleted the jack/new-new-ec-key-constructors branch January 17, 2025 22:38
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.

3 participants