#1570 - Improve examples: remove key generation loops #1598

pull Cheapshot003 wants to merge 1 commits into bitcoin-core:master from Cheapshot003:#1570-improve-examples changing 3 files +18 −24
  1. Cheapshot003 commented at 8:30 pm on August 29, 2024: none

    Hi! As discussed in #1570 I propose this as a change to the examples.c

    If the key is either zero or out of range we just return 1 and end the example instead of looping until a good key is found. This is all very unlikely but could indicate a faulty/manipulated RNG. Anybody knows where I can find the docs for this? First commit to this library, hope I don’t break anything!

  2. Improve examples: remove key generation loops 9ac3bcc776
  3. Cheapshot003 closed this on Aug 29, 2024

  4. Cheapshot003 deleted the branch on Aug 29, 2024
  5. Thompson1985 approved

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: 2024-11-21 08:15 UTC

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