[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
  1. sipa commented at 11:51 AM on December 9, 2014: contributor

    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.

  2. Fix ECDSA message hashes to 32 bytes cf7b2b4647
  3. 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.

  4. gmaxwell commented at 12:28 AM on December 11, 2014: contributor

    ACK.

  5. sipa merged this on Dec 11, 2014
  6. sipa closed this on Dec 11, 2014

  7. sipa referenced this in commit bccaf86caa on Dec 11, 2014
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 11:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me