Skip to content

Add ability to pass extra entropy to rfc6979#229

Merged
sipa merged 2 commits intobitcoin-core:masterfrom
sipa:entrfc
Mar 27, 2015
Merged

Add ability to pass extra entropy to rfc6979#229
sipa merged 2 commits intobitcoin-core:masterfrom
sipa:entrfc

Conversation

@sipa
Copy link
Contributor

@sipa sipa commented Mar 20, 2015

Suggested by Greg Maxwell.

@gmaxwell
Copy link
Contributor

I've sent email to Thomas Pornin on the question of exactly how the 3.6 "additional data" was supposed to be applied with respect to steps 3.2.d vs 3.2.f in the draft.

I believe all solutions are likely to be adequate but for consistency I thought it would be good to clarify whats intended in the draft.

@sipa
Copy link
Contributor Author

sipa commented Mar 23, 2015

Updated to apply it both 3.2.d and 3.2.f.

@gmaxwell
Copy link
Contributor

ACK with https://people.xiph.org/~greg/0001-Add-a-simple-testcase-for-signing-with-rfc6979-extra.patch or something substantially similar added. :)

(could you imagine if some (future) typo made the extra data blow away the other inputs to the 6979? ouch!)

@sipa
Copy link
Contributor Author

sipa commented Mar 27, 2015

Included your commit.

@sipa
Copy link
Contributor Author

sipa commented Mar 27, 2015

ACK extra commit.

@sipa sipa merged commit efc571c into bitcoin-core:master Mar 27, 2015
sipa added a commit that referenced this pull request Mar 27, 2015
efc571c Add simple testcases for signing with rfc6979 extra entropy. (Gregory Maxwell)
1573a10 Add ability to pass extra entropy to rfc6979 (Pieter Wuille)
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