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

secp256k1/schnorr: Expose signature r and s. #3437

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Sep 4, 2024

This exposes the R and S values of Schnorr signatures in the same way they are exposed for ECDSA signatures.

The R and S values are useful for various computations and currently there is currently no easy and efficient way for external consumers to get the values.

It also adds some additional checks to the sign and verify tests to ensure the new methods return the expected values.

@davecgh davecgh added this to the 2.1.0 milestone Sep 4, 2024
This exposes the R and S values of schnorr signatures in the same way
they are exposed for ECDSA signatures.

The R and S values are useful for various computations and currently
there is currently no easy and efficient way for external consumers to
get the values.
This adds a couple of additional checks to the sign and verify tests to
ensure the new R and S methods return the expected values.
@davecgh davecgh merged commit 02b1cff into decred:master Sep 5, 2024
2 checks passed
@davecgh davecgh deleted the secp256k1_expose_schnorr_rs branch September 5, 2024 20:24
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.

4 participants