tests: restore scalar_mul test #1474

pull jonasnick wants to merge 1 commits into bitcoin-core:master from jonasnick:restore-multest changing 1 files +2 −0
  1. jonasnick commented at 3:52 PM on January 4, 2024: contributor

    Without this commit, the res[i][1] test vectors are unused. They were introduced to test the correctness of scalar_sqr(x) and scalar_mul(x, x). These tests were deleted as part of removing scalar_sqr in commit 5437e7bdfbffddf69fdf7b4af7e997c78f5dafbf.

    Discovered in https://github.com/bitcoin-core/secp256k1/discussions/1463 by Coding-Enthusiast (thanks!).

  2. tests: restore scalar_mul test
    Without this commit, the res[i][1] test vectors are unused. They were introduced
    to test the correctness of scalar_sqr(x) and scalar_mul(x, x). These tests were
    deleted as part of removing scalar_sqr in commit
    5437e7bdfbffddf69fdf7b4af7e997c78f5dafbf.
    3dbfb48946
  3. real-or-random added the label assurance on Jan 4, 2024
  4. real-or-random added the label refactor/smell on Jan 4, 2024
  5. real-or-random approved
  6. real-or-random commented at 4:29 PM on January 4, 2024: contributor

    utACK 3dbfb48946b9d2a98acef23674617510cf1b3386

  7. real-or-random merged this on Jan 4, 2024
  8. real-or-random closed this on Jan 4, 2024

  9. vmta referenced this in commit 9cc5271211 on Jan 15, 2024
  10. achow101 referenced this in commit 9d962e5e0d on Jan 15, 2024
  11. fjahr referenced this in commit d5f970e647 on Feb 25, 2024
  12. achow101 referenced this in commit edc3e9107b on Mar 20, 2024
  13. achow101 referenced this in commit b525369f8e on Mar 25, 2024
  14. achow101 referenced this in commit 2189d2f841 on Apr 1, 2024
  15. fanquake referenced this in commit 5354807b00 on Apr 4, 2024
  16. fanquake referenced this in commit 53eec53dca on Apr 4, 2024
  17. hebasto referenced this in commit b6de625950 on May 11, 2024
  18. janus referenced this in commit 939262869a on Jun 6, 2024
  19. delta1 referenced this in commit 6089844b3c on Apr 2, 2025
  20. div72 referenced this in commit af627d47c3 on Apr 12, 2025
  21. oskarszoon referenced this in commit 0d5c9260f4 on Jul 1, 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