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

crypto.ecdsa: migrate ecdsa.PrivateKey.new() to use high level api #23640

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

Conversation

blackshirt
Copy link
Contributor

@blackshirt blackshirt commented Feb 3, 2025

This PR was a continuation of migration step of this phase. In this PR, its only migrates one generator function ecdsa.PrivateKey.new() to use high level api. Its also still use old deprecated api to support old function that relies on EC_KEY function.
So, its does not changes the current behaviour, and the old opaque still avaialbles on there.
The other changes are:

  • Add required C declarations
  • Some bits of code reorganization to make its easy to read.
  • Add some constants to easy the access
  • Improves the function docs.

Its is..
Happy days..

Copy link

Connected to Huly®: V_0.6-22063

@blackshirt blackshirt changed the title crypto.ecdsa: Migrate PrivateKey.new() to use high level api crypto.ecdsa: migrate ecdsa.PrivateKey.new() to use high level api Feb 3, 2025
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