The message is assumed to be already hashed anyway, and it already can't be more than 32 bytes. Fixing it to a single size simplifies the code and the API.
[API BREAK] Fix ECDSA message hashes to 32 bytes #150
pull sipa wants to merge 1 commits into bitcoin-core:master from sipa:simpleapi changing 6 files +60 −86-
sipa commented at 11:51 AM on December 9, 2014: contributor
-
Fix ECDSA message hashes to 32 bytes cf7b2b4647
-
gmaxwell commented at 11:57 AM on December 9, 2014: contributor
Good. I was thinking of at least clarifying the description that the message must be a hash. Fixing the length makes it slightly less foot-gunny. I'll review/test.
-
gmaxwell commented at 12:28 AM on December 11, 2014: contributor
ACK.
- sipa merged this on Dec 11, 2014
- sipa closed this on Dec 11, 2014
- sipa referenced this in commit bccaf86caa on Dec 11, 2014