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

fix: decode ec point according to the spec #253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mahnunchik
Copy link

This PR includes decodePoint method according to the specification: https://tools.ietf.org/html/rfc8032#section-5.1.3

If the resulting value is >= p, decoding fails.

There are some tests, if needed more tests can be added.

Related issue: #250

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 88.792% when pulling c6d2432 on CoinSpace:decode-point into 43ac7f2 on indutny:master.

@mahnunchik
Copy link
Author

@indutny @fanatid ping

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.

None yet

2 participants