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

Add unit tests for all recovery factors #26

Open
ryanxcharles opened this issue Jun 11, 2015 · 0 comments
Open

Add unit tests for all recovery factors #26

ryanxcharles opened this issue Jun 11, 2015 · 0 comments

Comments

@ryanxcharles
Copy link
Contributor

For recovering a public key from a signature, not all recovery factors are tested. However, libsecp256k1 has test vectors for this, so that can make it possible to test all recovery factors. See:

https://github.com/bitcoin/secp256k1/blob/master/src/tests.c#L1723

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

No branches or pull requests

1 participant