Update libsecp256k1 subtree to release 0.4.0 #28404

pull sipa wants to merge 2 commits into bitcoin:master from sipa:secp256k1 changing 29 files +1476 −694
  1. sipa commented at 4:53 PM on September 4, 2023: member

    We had previously pulled in a non-released commit along with #27479. The necessary changes have now been released in version 0.4.0, so update to that.

  2. Squashed 'src/secp256k1/' changes from c545fdc374..199d27cea3
    199d27cea3 Merge bitcoin-core/secp256k1#1415: release: Prepare for 0.4.0
    16339804c9 release: Prepare for 0.4.0
    d9a85065a9 changelog: Catch up in preparation of release
    0b4640aedd Merge bitcoin-core/secp256k1#1413: ci: Add `release` job
    8659a01714 ci: Add `release` job
    f9b38894ba ci: Update `actions/checkout` version
    727bec5bc2 Merge bitcoin-core/secp256k1#1414: ci/gha: Add ARM64 QEMU jobs for clang and clang-snapshot
    2635068abf ci/gha: Let MSan continue checking after errors in all jobs
    e78c7b68eb ci/Dockerfile: Reduce size of Docker image further
    2f0d3bbffb ci/Dockerfile: Warn if `ulimit -n` is too high when running Docker
    4b8a647ad3 ci/gha: Add ARM64 QEMU jobs for clang and clang-snapshot
    6ebe7d2bb3 ci/Dockerfile: Always use versioned clang packages
    65c79fe2d0 Merge bitcoin-core/secp256k1#1412: ci: Switch macOS from Ventura to Monterey and add Valgrind
    c223d7e33d ci: Switch macOS from Ventura to Monterey and add Valgrind
    ea26b71c3a Merge bitcoin-core/secp256k1#1411: ci: Make repetitive command the default one
    cce0456304 ci: Make repetitive command the default one
    317a4c48f0 ci: Move `git config ...` to `run-in-docker-action`
    4d7fe60905 Merge bitcoin-core/secp256k1#1409: ci: Move remained task from Cirrus to GitHub Actions
    676ed8f9cf ci: Move "C++ (public headers)" from Cirrus to GitHub Actions
    61fc3a2dc8 ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions
    d51fb0a533 ci: Move "MSan" from Cirrus to GitHub Actions
    c22ac27529 ci: Move sanitizers task from Cirrus to GitHub Actions
    26a989924b Merge bitcoin-core/secp256k1#1410: ci: Use concurrency for pull requests only
    ee1be62d84 ci: Use concurrency for pull requests only
    6ee14550c8 Merge bitcoin-core/secp256k1#1406: ci, gha: Move more non-x86_64 tasks from Cirrus CI to GitHub Actions
    fc3dea29ea ci: Move "ppc64le: Linux..." from Cirrus to GitHub Actions
    7782dc8276 ci: Move "ARM64: Linux..." from Cirrus to GitHub Actions
    0a16de671c ci: Move "ARM32: Linux..." from Cirrus to GitHub Actions
    ea33914e00 ci: Move "s390x (big-endian): Linux..." from Cirrus to GitHub Actions
    880be8af99 ci: Move "i686: Linux (Debian stable)" from Cirrus to GiHub Actions
    2e6cf9bae5 Merge bitcoin-core/secp256k1#1396: ci, gha: Add "x86_64: Linux (Debian stable)" GitHub Actions job
    5373693e45 Merge bitcoin-core/secp256k1#1405: ci: Drop no longer needed workaround
    ef9fe959de ci: Drop no longer needed workaround
    e10878f58e ci, gha: Drop `driver-opts.network` input for `setup-buildx-action`
    4ad4914bd1 ci, gha: Add `retry_builder` Docker image builder
    6617a620d9 ci: Remove "x86_64: Linux (Debian stable)" task from Cirrus CI
    03c9e6508c ci, gha: Add "x86_64: Linux (Debian stable)" GitHub Actions job
    ad3e65d9fe ci: Remove GCC build files and sage to reduce size of Docker image
    6b9507adf6 Merge bitcoin-core/secp256k1#1398: ci, gha: Add Windows jobs based on Linux image
    87d35f30c0 ci: Rename `cirrus.sh` to more general `ci.sh`
    d6281dd008 ci: Remove Windows tasks from Cirrus CI
    2b6f9cd546 ci, gha: Add Windows jobs based on Linux image
    48b1d939b5 Merge bitcoin-core/secp256k1#1403: ci, gha: Ensure only a single workflow processes `github.ref` at a time
    0ba2b94551 Merge bitcoin-core/secp256k1#1373: Add invariant checking for scalars
    060e32cb60 Merge bitcoin-core/secp256k1#1401: ci, gha: Run all MSVC tests on Windows natively
    de657c2044 Merge bitcoin-core/secp256k1#1062: Removes `_fe_equal_var`, and unwanted `_fe_normalize_weak` calls (in tests)
    bcffeb14bc Merge bitcoin-core/secp256k1#1404: ci: Remove "arm64: macOS Ventura" task from Cirrus CI
    c2f6435802 ci: Add comment about switching macOS to M1 on GHA later
    4a24fae0bc ci: Remove "arm64: macOS Ventura" task from Cirrus CI
    b0886fd35c ci, gha: Ensure only a single workflow processes `github.ref` at a time
    3d05c86d63 Merge bitcoin-core/secp256k1#1394: ci, gha: Run "x86_64: macOS Ventura" job on GitHub Actions
    d78bec7001 ci: Remove Windows MSVC tasks from Cirrus CI
    3545dc2b9b ci, gha: Run all MSVC tests on Windows natively
    5d8fa825e2 Merge bitcoin-core/secp256k1#1274: test: Silent noisy clang warnings about Valgrind code on macOS x86_64
    8e54a346d2 ci, gha: Run "x86_64: macOS Ventura" job on GitHub Actions
    b327abfcea Merge bitcoin-core/secp256k1#1402: ci: Use Homebrew's gcc in native macOS task
    d62db57427 ci: Use Homebrew's gcc in native macOS task
    54058d16fe field: remove `secp256k1_fe_equal_var`
    bb4efd6404 tests: remove unwanted `secp256k1_fe_normalize_weak` call
    eedd781085 Merge bitcoin-core/secp256k1#1348: tighten group magnitude limits, save normalize_weak calls in group add methods (revival of #1032)
    b2f6712dd3 Merge bitcoin-core/secp256k1#1400: ctimetests: Use new SECP256K1_CHECKMEM macros also for ellswift
    9c91ea41b1 ci: Enable ellswift module where it's missing
    db32a24761 ctimetests: Use new SECP256K1_CHECKMEM macros also for ellswift
    ce765a5b8e Merge bitcoin-core/secp256k1#1399: ci, gha: Run "SageMath prover" job on GitHub Actions
    8408dfdc4c Revert "ci: Run sage prover on CI"
    c8d9914fb1 ci, gha: Run "SageMath prover" job on GitHub Actions
    8d2960c8e2 Merge bitcoin-core/secp256k1#1397: ci: Remove "Windows (VS 2022)" task from Cirrus CI
    f1774e5ec4 ci, gha: Make MSVC job presentation more explicit
    5ee039bb58 ci: Remove "Windows (VS 2022)" task from Cirrus CI
    96294c00fb Merge bitcoin-core/secp256k1#1389: ci: Run "Windows (VS 2022)" job on GitHub Actions
    a2f7ccdecc ci: Run "Windows (VS 2022)" job on GitHub Actions
    374e2b54e2 Merge bitcoin-core/secp256k1#1290: cmake: Set `ENVIRONMENT` property for examples on Windows
    1b13415df9 Merge bitcoin-core/secp256k1#1391: refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2)
    a1bd4971d6 refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2)
    b7c685e74a Save _normalize_weak calls in group add methods
    c83afa66e0 Tighten group magnitude limits
    26392da2fb Merge bitcoin-core/secp256k1#1386: ci: print $ELLSWIFT in cirrus.sh
    d23da6d557 use secp256k1_scalar_verify checks
    4692478853 ci: print $ELLSWIFT in cirrus.sh
    c7d0454932 add verification for scalars
    c734c64278 Merge bitcoin-core/secp256k1#1384: build: enable ellswift module via SECP_CONFIG_DEFINES
    ad152151b0 update max scalar in scalar_cmov_test and fix schnorrsig_verify exhaustive test
    78ca880788 build: enable ellswift module via SECP_CONFIG_DEFINES
    0e00fc7d10 Merge bitcoin-core/secp256k1#1383: util: remove unused checked_realloc
    b097a466c1 util: remove unused checked_realloc
    2bd5f3e618 Merge bitcoin-core/secp256k1#1382: refactor: Drop unused cast
    4f8c5bd761 refactor: Drop unused cast
    173e8d061a Implement current magnitude assumptions
    49afd2f5d8 Take use of _fe_verify_magnitude in field_impl.h
    4e9661fc42 Add _fe_verify_magnitude (no-op unless VERIFY is enabled)
    690b0fc05a add missing group element invariant checks
    175db31149 ci: Drop no longer needed `PATH` variable update on Windows
    116d2ab3df cmake: Set `ENVIRONMENT` property for examples on Windows
    cef373997c cmake, refactor: Use helper function instead of interface library
    747ada3587 test: Silent noisy clang warnings about Valgrind code on macOS x86_64
    
    git-subtree-dir: src/secp256k1
    git-subtree-split: 199d27cea32203b224b208627533c2e813cd3b21
    c0da4f60e2
  3. Update secp256k1 subtree to upstream release 0.4.0 0e0fc18c3c
  4. DrahtBot commented at 4:53 PM on September 4, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK hebasto, fanquake
    Concept ACK real-or-random, jonatack

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  5. real-or-random commented at 4:55 PM on September 4, 2023: contributor

    Concept ACK

  6. hebasto approved
  7. hebasto commented at 5:07 PM on September 4, 2023: member

    ACK 0e0fc18c3cf8c0aa4cca85c4294416463f157870, having a zero diff with my local branch that updates the secp256k1 subtree up to v0.4.0.

  8. jonatack commented at 6:06 PM on September 4, 2023: member

    Concept ACK

  9. fanquake commented at 9:12 AM on September 5, 2023: member
  10. fanquake approved
  11. fanquake commented at 9:37 AM on September 5, 2023: member

    ACK 0e0fc18c3cf8c0aa4cca85c4294416463f157870

  12. fanquake merged this on Sep 5, 2023
  13. fanquake closed this on Sep 5, 2023

  14. Frank-GER referenced this in commit 66f3ee38a0 on Sep 8, 2023
  15. bitcoin locked this on Sep 4, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 09:13 UTC

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