Skip to content

Replace custom secp256k1/ECDSA with Zig std lib #19

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Replace custom secp256k1/ECDSA with Zig std lib #19

wants to merge 3 commits into from

Conversation

iskyd
Copy link
Owner

@iskyd iskyd commented Apr 5, 2025

Open Source Saturday Italy

  • Removed internal secp256k1 and ecdsa custom implementations
  • Migrated to Zig's standard library modules

@iskyd
Copy link
Owner Author

iskyd commented Apr 14, 2025

Related to this bug ziglang/zig#23503

@iskyd
Copy link
Owner Author

iskyd commented Apr 19, 2025

This pr introduce verifyPrehashed and finalizePrehashed. This is what is needed, otherwise do not perform doubleSha but just a single hash with sha256 and pass that to ecdsa sign.

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