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

Allow pass pers to drbg from ec.sign #71

Closed
wants to merge 1 commit into from

Conversation

fanatid
Copy link
Contributor

@fanatid fanatid commented Jan 20, 2016

In #68 I forgot mentioned that secp256k1-node v3.0.0 also need pass extra data to drbg.

@indutny
Copy link
Owner

indutny commented Jan 20, 2016

@fanatid just curious, what kind of data do you pass there? Does it follow any spec?

@fanatid
Copy link
Contributor Author

fanatid commented Jan 21, 2016

I want pass Buffer or null, but it always will go through utils.toArray.
I wasn't seen any spec for this (except RFC 6979 3.6 Additional Data), just trying follow bitcoin/secp256k1.

@indutny
Copy link
Owner

indutny commented Jan 21, 2016

Ok then... May I ask you to write a test for it? Maybe cross-check the output value with secp256k1 with it's pers data.

@indutny
Copy link
Owner

indutny commented Jan 21, 2016

Oh, also... please let me know when you will make changes. Github does not send notifications on new commits in PR.

@fanatid
Copy link
Contributor Author

fanatid commented Jan 22, 2016

@indutny updated!

@indutny
Copy link
Owner

indutny commented Jan 22, 2016

Landed and released, thank you!

@indutny indutny closed this Jan 22, 2016
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