]> Git Repo - secp256k1.git/commit
Avoid nonce_function_rfc6979 algo16 argument emulation.
authorGregory Maxwell <[email protected]>
Mon, 19 Oct 2015 23:35:29 +0000 (23:35 +0000)
committerGregory Maxwell <[email protected]>
Thu, 22 Oct 2015 22:57:33 +0000 (22:57 +0000)
commitb30fc85c9eb24dfbfa2c21175a42aa0a98319d76
tree0ddcbdae26aaee8d06a365911a93db0154957922
parent70d46401728699b49a2489ce0943d14764b55bd5
Avoid nonce_function_rfc6979 algo16 argument emulation.

This avoids data=NULL and data = zeros to producing the same nonce.

Previously the code tried to avoid the case where some data inputs
 aliased algo16 inputs by always padding out the data.

But because algo16 and data are different lengths they cannot
 emulate each other, and the padding would match a data value of
 all zeros.
src/secp256k1.c
src/tests.c
This page took 0.023295 seconds and 4 git commands to generate.