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 new_key_from_seed to use high opaque #23876

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

blackshirt
Copy link
Contributor

@blackshirt blackshirt commented Mar 7, 2025

This PR migrates mostly for new_key_from_seed function to use high level EVP_PKEY opaque. Its also migrates equality check on PrivateKey and PublicKey.

  • Its also adding some helpers to simplify the logic
  • Adds some required definition

There are some bits thats not fully migrated, like the .bytes() methods on the both, maybe its ready on the next PR.
After that, we can clean its up to remove the obsoleted bits from the module.

Thanks

.

Copy link

Connected to Huly®: V_0.6-22279

@spytheman
Copy link
Member

spytheman commented Mar 7, 2025

why?
edit: answered on Discord

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 bc3fc12 into vlang:master Mar 7, 2025
68 checks passed
@blackshirt blackshirt deleted the ecdsa_migrate branch March 8, 2025 00:19
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