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: preparation step to migrate to the new api. #23595

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

blackshirt
Copy link
Contributor

@blackshirt blackshirt commented Jan 27, 2025

This preparations PR was related to talk to migrate crypto.ecdsa module to use the new high level API. This PR contains simple changes in the form:

  • Split out C declarations into the new file ecdsa.c.v to align with the habits of the rest of standard modules that wraps C lib.
  • Adds a new field of high level EVP_PKEY opaque to the PrivateKey and PublicKey part.

Its doesn't add functionality, just preparation step.

Thanks

…the C wrapper to the new file and add the new opaque to the PrivateKey and PublicKey declarations.
Copy link

Connected to Huly®: V_0.6-22021

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Excellent work.

@spytheman spytheman merged commit 1eaa7c8 into vlang:master Jan 27, 2025
68 checks passed
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