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
  8. sipa referenced this in commit c0da4f60e2 on Sep 4, 2023
  9. Retropex referenced this in commit 5f62ed90f6 on Oct 4, 2023
  10. real-or-random referenced this in commit d575ef9aca on Oct 12, 2023
  11. janus referenced this in commit 1097330147 on Apr 1, 2024
  12. hebasto referenced this in commit b6de625950 on May 11, 2024
  13. delta1 referenced this in commit 6089844b3c on Apr 2, 2025
  14. div72 referenced this in commit af627d47c3 on Apr 12, 2025
  15. str4d referenced this in commit b9e749419a on Jun 4, 2025

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-05-19 06:52 UTC