refactor: take use of secp256k1_scalar_{zero,one} constants (part 2) #1391

pull theStack wants to merge 1 commits into bitcoin-core:master from theStack:replace-scalar_zero_and_one_constants changing 2 files +25 −34
  1. theStack commented at 1:00 am on August 1, 2023: contributor
    This is a follow-up to PR #1330, which replaced scalar variables that were set to zero and one via secp256k1_scalar_set_int, but missed instances which were directly initialized via SECP256K1_SCALAR_CONST (found via git grep "SECP256K1_SCALAR_CONST(0,").
  2. refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2) a1bd4971d6
  3. real-or-random approved
  4. jonasnick commented at 9:37 am on August 3, 2023: contributor
    ACK a1bd4971d6c6113f140143275141adb336fc3702
  5. jonasnick merged this on Aug 3, 2023
  6. jonasnick closed this on Aug 3, 2023

  7. theStack deleted the branch on Aug 3, 2023

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-10-30 05:15 UTC

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