Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream PRs 1391, 1290, 1389, 1397, 1399, 1400, 1348, 1402, 1274, 1394, 1404, 1062, 1401, 1373, 1403, 1398, 1405, 1396, 1406, 1410, 1409, 1411, 1412, 1414, 1413, 1415, 1417, 1390, 1416, 1422, 1424, 1395 #270

Merged
merged 109 commits into from
Oct 12, 2023

Commits on Jun 4, 2023

  1. Configuration menu
    Copy the full SHA
    747ada3 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. cmake, refactor: Use helper function instead of interface library

    This change aims to simplify the following commit.
    hebasto committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    cef3739 View commit details
    Browse the repository at this point in the history
  2. cmake: Set ENVIRONMENT property for examples on Windows

    This change simplifies running examples on Windows, because the DLL
    must reside either in the same folder where the executable is or
    somewhere in PATH.
    hebasto committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    116d2ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    175db31 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. add missing group element invariant checks

    The group element checks `secp256k1_{ge,gej}_verify` have first been
    implemented and added in commit f202667
    (PR #1299). This commit adds additional verification calls in group
    functions, to match the ones that were originally proposed in commit
    09dbba561fdb9d57a2cc9842ce041d9ba29a6189 of WIP-PR #1032 (which is
    obviously not rebased on #1299 yet).
    
    Also, for easier review, all functions handling group elements are
    structured in the following wasy for easier review (idea suggested by
    Tim Ruffing):
    
    - on entry, verify all input ge, gej (and fe)
    - empty line
    - actual function body
    - empty line
    - on exit, verify all output ge, gej
    
    Co-authored-by: Peter Dettman <[email protected]>
    Co-authored-by: Tim Ruffing <[email protected]>
    3 people committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    690b0fc View commit details
    Browse the repository at this point in the history
  2. Add _fe_verify_magnitude (no-op unless VERIFY is enabled)

    Co-authored-by: Tim Ruffing <[email protected]>
    2 people authored and theStack committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    4e9661f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49afd2f View commit details
    Browse the repository at this point in the history
  4. Implement current magnitude assumptions

    Remove also the explicit magnitude restriction `a->x.magnitude <= 31`
    in `secp256k1_gej_eq_x_var` (introduced in commit
    07c0e8b), as this is implied by the
    new limits.
    
    Co-authored-by: Sebastian Falbesoner <[email protected]>
    peterdettman and theStack committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    173e8d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. update max scalar in scalar_cmov_test and fix schnorrsig_verify exhau…

    …stive test
    
    - `secp256k1_scalar_set_int` in scalar_low uses input mod EXHAUSTIVE_TEST_ORDER
    - directly store s in sig64 without reducing it mod the group order for testing
    stratospher committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    ad15215 View commit details
    Browse the repository at this point in the history
  2. add verification for scalars

    secp256k1_scalar_verify checks that scalars are reduced mod the
    group order
    stratospher committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    c7d0454 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d23da6d View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Tighten group magnitude limits

    - adjust test methods that randomize magnitudes
    
    Co-authored-by: Sebastian Falbesoner <[email protected]>
    Co-authored-by: Jonas Nick <[email protected]>
    3 people committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    c83afa6 View commit details
    Browse the repository at this point in the history
  2. Save _normalize_weak calls in group add methods

    Also update the operations count comments in each of the affected
    functions accordingly and remove a redundant VERIFY_CHECK in
    secp256k1_gej_add_ge (the infinity value range check [0,1] is already
    covered by secp256k1_gej_verify above).
    
    Co-authored-by: Sebastian Falbesoner <[email protected]>
    Co-authored-by: Tim Ruffing <[email protected]>
    Co-authored-by: Jonas Nick <[email protected]>
    4 people committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b7c685e View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Configuration menu
    Copy the full SHA
    a1bd497 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Merge bitcoin-core/secp256k1#1391: refactor: take use of `secp256k1_s…

    …calar_{zero,one}` constants (part 2)
    
    a1bd497 refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2) (Sebastian Falbesoner)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        utACK bitcoin-core/secp256k1@a1bd497
      jonasnick:
        ACK a1bd497
    
    Tree-SHA512: 09ef6d9be1d3f9c19f8fe4614fe629de5c45197027e0e3f9dd8d4679a510a7b57f8aa499707a6daf652041f255c87316c9883bf7cf9a08bd41a3651bff54299e
    jonasnick committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    1b13415 View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin-core/secp256k1#1290: cmake: Set ENVIRONMENT property …

    …for examples on Windows
    
    175db31 ci: Drop no longer needed `PATH` variable update on Windows (Hennadii Stepanov)
    116d2ab cmake: Set `ENVIRONMENT` property for examples on Windows (Hennadii Stepanov)
    cef3739 cmake, refactor: Use helper function instead of interface library (Hennadii Stepanov)
    
    Pull request description:
    
      This PR simplifies running examples on Windows, because the DLL must reside either in the same folder where the executable is or somewhere in PATH.
    
      It is an alternative to #1233.
    
    ACKs for top commit:
      real-or-random:
        utACK 175db31
    
    Tree-SHA512: 8188018589a5bcf0179647a039cdafcce661dc103a70a5bb9e6b6f680b899332ba30b1e9ef5dad2a8c22c315d7794747e49d8cf2e391eebea21e3d8505ee334b
    real-or-random committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    374e2b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    a2f7ccd View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin-core/secp256k1#1389: ci: Run "Windows (VS 2022)" job on…

    … GitHub Actions
    
    a2f7ccd ci: Run "Windows (VS 2022)" job on GitHub Actions (Hennadii Stepanov)
    
    Pull request description:
    
      This PR solves one item in bitcoin-core/secp256k1#1392.
    
      In response to upcoming [limiting free usage of Cirrus CI](https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/), suggesting to move (partially?) CI tasks/jobs from Cirrus CI to [GitHub Actions](https://docs.github.com/actions) (GHA).
    
      Here is example from my personal repo: https://github.com/hebasto/secp256k1/actions/runs/5806269046.
    
      For security concerns, see:
      - bitcoin/bitcoin#28098 (comment)
      - bitcoin/bitcoin#28098 (comment)
    
      I'm suggesting the repository "Actions permissions" as follows:
    
      ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/bd18d489-784f-48ba-b599-ed1c4dfc34fa)
    
      ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/632280e0-9c26-42eb-a0ed-24f9a8142faa)
    
      ---
    
      See build logs in my personal repo: https://github.com/hebasto/secp256k1/actions/runs/5692587475.
    
    ACKs for top commit:
      real-or-random:
        utACK a2f7ccd
    
    Tree-SHA512: b6329a29391146e3cdee9a56f6151b6672aa45837dfaacb708ba4209719801ed029a6928d638d314b71c7533d927d771b3eca4b9e740cfcf580a40ba07970ae4
    real-or-random committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    96294c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ee039b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1774e5 View commit details
    Browse the repository at this point in the history
  5. Merge bitcoin-core/secp256k1#1397: ci: Remove "Windows (VS 2022)" tas…

    …k from Cirrus CI
    
    f1774e5 ci, gha: Make MSVC job presentation more explicit (Hennadii Stepanov)
    5ee039b ci: Remove "Windows (VS 2022)" task from Cirrus CI (Hennadii Stepanov)
    
    Pull request description:
    
      A follow-up for bitcoin-core/secp256k1#1389.
    
      bitcoin-core/secp256k1#1389 (comment):
      > Or actually... hebasto Can you remove the second commit for now, if we're unsure whether this works at all.
    
      ---
    
      Second commit effect:
      - [before (master branch)](https://github.com/bitcoin-core/secp256k1/actions/runs/5809860925):
      ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/041439a5-8d1a-4740-85c3-4223e8cd9f70)
    
      - [after (this PR)](https://github.com/bitcoin-core/secp256k1/actions/runs/5810140851):
      ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/9e0c8f2c-1ba6-4df9-8720-542788b24da6)
    
    ACKs for top commit:
      real-or-random:
        utACK f1774e5
    
    Tree-SHA512: ed36c5cef3ba4cf6769d480358f753ecc4a8a150103201f586b05d8d364c580ff637fe5b915918c695c8f7067c1bd7de6384eea1a12d1b8575ba5b629779ebf4
    real-or-random committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8d2960c View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Configuration menu
    Copy the full SHA
    c8d9914 View commit details
    Browse the repository at this point in the history
  2. Revert "ci: Run sage prover on CI"

    This reverts commit d8d5485.
    hebasto committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8408dfd View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Merge bitcoin-core/secp256k1#1399: ci, gha: Run "SageMath prover" job…

    … on GitHub Actions
    
    8408dfd Revert "ci: Run sage prover on CI" (Hennadii Stepanov)
    c8d9914 ci, gha: Run "SageMath prover" job on GitHub Actions (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        utACK 8408dfd
      jonasnick:
        ACK 8408dfd
    
    Tree-SHA512: 4de628b6d5535023c5351faebfd98d2bd9effe6592f14ffe0d0f7c6eeedd7426b9891da70aa3ea7fa830f0abc054f6b015af01fb6e26f50d45eb26177a7a6310
    jonasnick committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    ce765a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db32a24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c91ea4 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Merge bitcoin-core/secp256k1#1400: ctimetests: Use new SECP256K1_CHEC…

    …KMEM macros also for ellswift
    
    9c91ea4 ci: Enable ellswift module where it's missing (Tim Ruffing)
    db32a24 ctimetests: Use new SECP256K1_CHECKMEM macros also for ellswift (Tim Ruffing)
    
    Pull request description:
    
    ACKs for top commit:
      hebasto:
        ACK 9c91ea4.
      jonasnick:
        ACK 9c91ea4
    
    Tree-SHA512: e918236cb38b2bb6e69f84fcfa5f550c54f0df018103627082646a8fd731c238ce68b1b85badf042f08300208015012677143a96f9b97d94065b9a00c1da7876
    jonasnick committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b2f6712 View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin-core/secp256k1#1348: tighten group magnitude limits, sa…

    …ve normalize_weak calls in group add methods (revival of #1032)
    
    b7c685e Save _normalize_weak calls in group add methods (Peter Dettman)
    c83afa6 Tighten group magnitude limits (Peter Dettman)
    173e8d0 Implement current magnitude assumptions (Peter Dettman)
    49afd2f Take use of _fe_verify_magnitude in field_impl.h (Sebastian Falbesoner)
    4e9661f Add _fe_verify_magnitude (no-op unless VERIFY is enabled) (Peter Dettman)
    690b0fc add missing group element invariant checks (Sebastian Falbesoner)
    
    Pull request description:
    
      This PR picks up #1032 by peterdettman. It's essentially a rebase on master; the original first commit (09dbba561fdb9d57a2cc9842ce041d9ba29a6189) which introduced group verification methods has mostly been replaced by PR #1299 (commit f202667) and what remains now is only adding a few missing checks at some places. The remaining commits are unchanged, though some (easy-to-solve) conflicts appeared through cherry-picking. The last commit which actually removes the `normalize_weak` calls is obviously the critical one and needs the most attention for review.
    
    ACKs for top commit:
      sipa:
        utACK b7c685e
      real-or-random:
        ACK b7c685e
      jonasnick:
        ACK b7c685e
    
    Tree-SHA512: f15167eff7ef6ed971c726a4d738de9a15be95b0c947d7e38329e7b16656202b7113497d36625304e784866349f2293f6f1d8cb97df35393af9ea465a4156da3
    real-or-random committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    eedd781 View commit details
    Browse the repository at this point in the history
  3. tests: remove unwanted secp256k1_fe_normalize_weak call

    It is not neccessary for the second argument in `secp256k1_fe_equal_var`
    (or `secp256k1_fe_equal`) to have magnitude = 1.
    Hence, removed the `secp256k1_fe_normalize_weak` call for those argument.
    siv2r committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    bb4efd6 View commit details
    Browse the repository at this point in the history
  4. field: remove secp256k1_fe_equal_var

    `fe_equal_var` hits a fast path only when the inputs are unequal, which is
    uncommon among its callers (public key parsing, ECDSA verify).
    siv2r committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    54058d1 View commit details
    Browse the repository at this point in the history
  5. ci: Use Homebrew's gcc in native macOS task

    Co-authored-by: Tim Ruffing <[email protected]>
    hebasto and real-or-random committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    d62db57 View commit details
    Browse the repository at this point in the history
  6. Merge bitcoin-core/secp256k1#1402: ci: Use Homebrew's gcc in native m…

    …acOS task
    
    d62db57 ci: Use Homebrew's gcc in native macOS task (Hennadii Stepanov)
    
    Pull request description:
    
      Fixes an issue noticed in bitcoin-core/secp256k1#1394 (comment):
    
      > This uses the wrong GCC, namely Clang
    
      When `CC=gcc`:
    
      - on the [master](https://api.cirrus-ci.com/v1/task/5074854529990656/logs/test.log) branch:
      ```
      + gcc -v
      Apple clang version 14.0.3 (clang-1403.0.22.14.1)
      Target: arm64-apple-darwin22.5.0
      Thread model: posix
      InstalledDir: /Library/Developer/CommandLineTools/usr/bin
      ```
    
      - with this [PR](https://api.cirrus-ci.com/v1/task/5460539170619392/logs/test.log):
      ```
      + gcc -v
      Using built-in specs.
      COLLECT_GCC=gcc
      COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/13.1.0/bin/../libexec/gcc/aarch64-apple-darwin22/13/lto-wrapper
      Target: aarch64-apple-darwin22
      Configured with: ../configure --prefix=/opt/homebrew/opt/gcc --libdir=/opt/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-13 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 13.1.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --with-system-zlib --build=aarch64-apple-darwin22 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
      Thread model: posix
      Supported LTO compression algorithms: zlib zstd
      gcc version 13.1.0 (Homebrew GCC 13.1.0)
      ```
    
    ACKs for top commit:
      real-or-random:
        ACK d62db57, it works: https://cirrus-ci.com/task/6200190252613632?logs=test#L27
    
    Tree-SHA512: 34b3aa86584fc04b57301731ebf811cd5b457cebb13e64593b8efb776aec48c1be5d2662b1af3f482d39fdb43308dafa5f4bfc18bd2cf350f0f61f0be799346e
    real-or-random committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b327abf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e54a34 View commit details
    Browse the repository at this point in the history
  8. Merge bitcoin-core/secp256k1#1274: test: Silent noisy clang warnings …

    …about Valgrind code on macOS x86_64
    
    747ada3 test: Silent noisy clang warnings about Valgrind code on macOS x86_64 (Hennadii Stepanov)
    
    Pull request description:
    
      Since #1206, on macOS x86_64 with Valgrind installed, clang emits a massive amount of `-Wreserved-identifier` and `-Wreserved-macro-identifier` warnings from the `valgrind/valgrind.h` and `valgrind/memcheck.h` headers.
    
      This PR prevents warnings emitted for the Valgrind code.
    
    ACKs for top commit:
      real-or-random:
        utACK 747ada3
    
    Tree-SHA512: dd1b2b9db2d471939fdc30f9d8fd106a12f21ec5008ca98d8ebe3087d7ea352d564e8bbd0cec59a004e084af3a84d4680cb81f2ef6fe13cf164b7691e33f437d
    real-or-random committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5d8fa82 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    3545dc2 View commit details
    Browse the repository at this point in the history
  2. ci: Remove Windows MSVC tasks from Cirrus CI

    Co-authored-by: Tim Ruffing <[email protected]>
    hebasto and real-or-random committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    d78bec7 View commit details
    Browse the repository at this point in the history
  3. Merge bitcoin-core/secp256k1#1394: ci, gha: Run "x86_64: macOS Ventur…

    …a" job on GitHub Actions
    
    8e54a34 ci, gha: Run "x86_64: macOS Ventura" job on GitHub Actions (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        ACK 8e54a34
      jonasnick:
        ACK 8e54a34
    
    Tree-SHA512: c10f9d8d677409b37f1d8a49e580f3160a920fed78add3437184e5dabf79083b1ba6df920a233f27485630e5bbee9ff9825e908cc6fb64b0c9959c131bc9f070
    jonasnick committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3d05c86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0886fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a24fae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c2f6435 View commit details
    Browse the repository at this point in the history
  7. Merge bitcoin-core/secp256k1#1404: ci: Remove "arm64: macOS Ventura" …

    …task from Cirrus CI
    
    c2f6435 ci: Add comment about switching macOS to M1 on GHA later (Tim Ruffing)
    4a24fae ci: Remove "arm64: macOS Ventura" task from Cirrus CI (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      hebasto:
        ACK c2f6435
      jonasnick:
        ACK c2f6435
    
    Tree-SHA512: a930f2a58fdf3624d03ffd07f6db236e804100eb9d4320c943a65b5a2afb89a5da82df8e0207b87e0e8f858974af07c876c9e56495246dfd24146dfb3b10b591
    jonasnick committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bcffeb1 View commit details
    Browse the repository at this point in the history
  8. Merge bitcoin-core/secp256k1#1062: Removes _fe_equal_var, and unwan…

    …ted `_fe_normalize_weak` calls (in tests)
    
    54058d1 field: remove `secp256k1_fe_equal_var` (siv2r)
    bb4efd6 tests: remove unwanted `secp256k1_fe_normalize_weak` call (siv2r)
    
    Pull request description:
    
      Fixes #946 and #1061
    
      Changes:
      - removes unwanted `fe_normalize_weak` calls to the second argument of `fe_equal`
      - removes `fe_equal_var`
    
    ACKs for top commit:
      real-or-random:
        utACK 54058d1
      jonasnick:
        ACK 54058d1
    
    Tree-SHA512: 89bfd1c205f760d0736b995adebb96d15b0df0a42ece25885c57ae7f4318f6816eb009a7fe94b5987a4cbb8588f0fffbdc275234b406a2d1f80d7695b4bd89db
    real-or-random committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    de657c2 View commit details
    Browse the repository at this point in the history
  9. Merge bitcoin-core/secp256k1#1401: ci, gha: Run all MSVC tests on Win…

    …dows natively
    
    d78bec7 ci: Remove Windows MSVC tasks from Cirrus CI (Hennadii Stepanov)
    3545dc2 ci, gha: Run all MSVC tests on Windows natively (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        ACK d78bec7
      jonasnick:
        ACK d78bec7
    
    Tree-SHA512: b58162a9f0827dceb1c7eb6fb7c759c0bffcf3e0d24cc7e6628ad71d1faaabaffb9d8de6fcd3d07bfcaca409632a13f711f9ad871a30718139557544cf91b4bf
    jonasnick committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    060e32c View commit details
    Browse the repository at this point in the history
  10. tests: simplify random_fe_non_zero (remove loop limit and unneeded …

    …normalize)
    
    `random_fe_non_zero` contains a loop iteration limit that ensures that
    we abort if `random_fe` ever yielded zero more than ten times in a row.
    This construct was first introduced in PR BlockstreamResearch#19 (commit 09ca4f3) for
    random non-square field elements and was later refactored into the
    non-zero helper in PR BlockstreamResearch#25 (commit 6d6102f). The copy-over to the
    exhaustive tests happened recently in PR #1118 (commit 0f86420).
    
    This case seems to be practically irrelevant and I'd argue for keeping
    things simple and removing it; if there's really a worry that the test's
    random generator is heavily biased towards certain values or value
    ranges then there should consequently be checks at other places too
    (e.g. directly in `random_fe` for 256-bit values that repeatedly
    overflow, i.e. >= p).
    
    Also, the _fe_normalize call is not needed and can be removed, as the
    result of `random_fe` is already normalized.
    theStack committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    dc55141 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c45b7c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Merge bitcoin-core/secp256k1#1373: Add invariant checking for scalars

    d23da6d use secp256k1_scalar_verify checks (stratospher)
    c7d0454 add verification for scalars (stratospher)
    ad15215 update max scalar in scalar_cmov_test and fix schnorrsig_verify exhaustive test (stratospher)
    
    Pull request description:
    
      From #1360. This PR:
      1. adds `secp256k1_scalar_verify` to make sure scalars are reduced mod the group order in VERIFY mode
      2. uses `secp256k1_scalar_verify` in all the scalar functions except `secp256k1_scalar_clear`, `secp256k1_scalar_reduce_512`, `secp256k1_scalar_mul_512` and `secp256k1_scalar_*_var` functions in `scalar_low_impl.h`
    
    ACKs for top commit:
      real-or-random:
        utACK d23da6d
      theStack:
        Code-review ACK d23da6d
    
    Tree-SHA512: a371b319d948198c4038d35c9ea58f4b94de4dc312215e2b78a323c2acd4ae1355d97935c558b388774832d6d0058b97ff8ca50c3aab40b9ede5307760d0a505
    real-or-random committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    0ba2b94 View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin-core/secp256k1#1403: ci, gha: Ensure only a single work…

    …flow processes `github.ref` at a time
    
    b0886fd ci, gha: Ensure only a single workflow processes `github.ref` at a time (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        ACK b0886fd
      jonasnick:
        ACK b0886fd
    
    Tree-SHA512: 8edda9259fc07bda3a35286ab97238b2f2749fbc629030da52e5a352988e5562cf62255c7d4917b7f0c8dbc9a0bd3a36b5e725d3d5a4c635ae8239faef829d1b
    jonasnick committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    48b1d93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b6f9cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6281dd View commit details
    Browse the repository at this point in the history
  5. ci: Rename cirrus.sh to more general ci.sh

    This makes sense in the process of moving stuff to GitHub Actions.
    hebasto committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    87d35f3 View commit details
    Browse the repository at this point in the history
  6. Merge bitcoin-core/secp256k1#1398: ci, gha: Add Windows jobs based on…

    … Linux image
    
    87d35f3 ci: Rename `cirrus.sh` to more general `ci.sh` (Hennadii Stepanov)
    d6281dd ci: Remove Windows tasks from Cirrus CI (Hennadii Stepanov)
    2b6f9cd ci, gha: Add Windows jobs based on Linux image (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      real-or-random:
        ACK 87d35f3
      jonasnick:
        ACK 87d35f3
    
    Tree-SHA512: bab005041692f52ed26899d50ee9114e6dd57a21ffa36b4d0b99e8b5b394a64a956cbc99ae2767fdf64f242970ebbeb0df4f5b373e059ecb187174f471b1a95e
    jonasnick committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    6b9507a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ad3e65d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    03c9e65 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6617a62 View commit details
    Browse the repository at this point in the history
  10. ci, gha: Add retry_builder Docker image builder

    This change is aimed at significantly reducing the frequency of failures
    caused by intermittent network timeouts.
    hebasto committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    4ad4914 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Configuration menu
    Copy the full SHA
    e10878f View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2023

  1. ci: Drop no longer needed workaround

    The https://sourceware.org/bugzilla/show_bug.cgi?id=27008 bug has been
    resolved since libc 2.33.
    
    Debian Bookworm has libc 2.36.
    hebasto committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    ef9fe95 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Merge bitcoin-core/secp256k1#1405: ci: Drop no longer needed workaround

    ef9fe95 ci: Drop no longer needed workaround (Hennadii Stepanov)
    
    Pull request description:
    
      The https://sourceware.org/bugzilla/show_bug.cgi?id=27008 bug has been resolved since libc 2.33.
    
      Debian Bookworm has [libc](https://packages.debian.org/bookworm/libc6) 2.36.
    
      I've separated this change from moving CI tasks to GitHub Actions intentionally.
    
    ACKs for top commit:
      real-or-random:
        ACK ef9fe95
    
    Tree-SHA512: 4e8ce1232fcb581fa4700da75e5f63ff3da359416e5c5c1966f6aae079219fd697554db03d0b1729ea62cca42aae74bd36621a85d6ec7e4ee18e2c20b879cfa6
    real-or-random committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    5373693 View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin-core/secp256k1#1396: ci, gha: Add "x86_64: Linux (Debia…

    …n stable)" GitHub Actions job
    
    e10878f ci, gha: Drop `driver-opts.network` input for `setup-buildx-action` (Hennadii Stepanov)
    4ad4914 ci, gha: Add `retry_builder` Docker image builder (Hennadii Stepanov)
    6617a62 ci: Remove "x86_64: Linux (Debian stable)" task from Cirrus CI (Hennadii Stepanov)
    03c9e65 ci, gha: Add "x86_64: Linux (Debian stable)" GitHub Actions job (Hennadii Stepanov)
    ad3e65d ci: Remove GCC build files and sage to reduce size of Docker image (Tim Ruffing)
    
    Pull request description:
    
      Solves one item in bitcoin-core/secp256k1#1392 partially.
    
    ACKs for top commit:
      real-or-random:
        ACK e10878f
    
    Tree-SHA512: 1e685b1a6a41b4be97b9b5bb0fe546c3f1f7daac9374146ca05ab29803d5945a038294ce3ab77489bd971ffce9789ece722e0e0f268b6a7e6483a3aa782d532d
    real-or-random committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    2e6cf9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    880be8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea33914 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a16de6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7782dc8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fc3dea2 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Merge bitcoin-core/secp256k1#1406: ci, gha: Move more non-x86_64 task…

    …s from Cirrus CI to GitHub Actions
    
    fc3dea2 ci: Move "ppc64le: Linux..." from Cirrus to GitHub Actions (Hennadii Stepanov)
    7782dc8 ci: Move "ARM64: Linux..." from Cirrus to GitHub Actions (Hennadii Stepanov)
    0a16de6 ci: Move "ARM32: Linux..." from Cirrus to GitHub Actions (Hennadii Stepanov)
    ea33914 ci: Move "s390x (big-endian): Linux..." from Cirrus to GitHub Actions (Hennadii Stepanov)
    880be8a ci: Move "i686: Linux (Debian stable)" from Cirrus to GiHub Actions (Hennadii Stepanov)
    
    Pull request description:
    
      Move more non-x86_64 tasks from Cirrus CI to GitHub Actions.
    
      Solves one item in bitcoin-core/secp256k1#1392 partially.
    
    ACKs for top commit:
      real-or-random:
        ACK fc3dea2 but still waiting for Cirrus
    
    Tree-SHA512: 9a910b3ee500aa34fc4db827f8b2a50bcfb637a9e59f4ad32545634772b397ce80b31a18723f4605dc42aa19a5632292943102099f7720f87de1da454da068b0
    real-or-random committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6ee1455 View commit details
    Browse the repository at this point in the history
  2. ci: Use concurrency for pull requests only

    Otherwise, any previously pending workflow will be canceled on the
    following push.
    hebasto committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    ee1be62 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Merge bitcoin-core/secp256k1#1410: ci: Use concurrency for pull reque…

    …sts only
    
    ee1be62 ci: Use concurrency for pull requests only (Hennadii Stepanov)
    
    Pull request description:
    
      This PR is an amendment for bitcoin-core/secp256k1#1403.
    
      It avoids skipping builds when some pushes were done consequentially.
    
      From GitHub Actions [docs](https://docs.github.com/en/actions/using-jobs/using-concurrency):
    
      > When a concurrent ... workflow is queued, if another ... workflow using the same concurrency group in the repository is in progress, the queued ... workflow will be pending. **Any previously pending ... workflow in the concurrency group will be canceled.**
    
      No behavior change for pull requests.
    
      Same as bitcoin/bitcoin#28322.
    
    ACKs for top commit:
      real-or-random:
        ACK ee1be62
    
    Tree-SHA512: ce26378c3224a7647eb3b351d19e9308650ad49b933a68d37a0eca8516767a63f55580a33b02864caa539392c9aab0b4b54ecbace85bea6082bf533539a37c9c
    real-or-random committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    26a9899 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c22ac27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d51fb0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61fc3a2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    676ed8f View commit details
    Browse the repository at this point in the history
  6. Merge bitcoin-core/secp256k1#1409: ci: Move remained task from Cirrus…

    … to GitHub Actions
    
    676ed8f ci: Move "C++ (public headers)" from Cirrus to GitHub Actions (Hennadii Stepanov)
    61fc3a2 ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions (Hennadii Stepanov)
    d51fb0a ci: Move "MSan" from Cirrus to GitHub Actions (Hennadii Stepanov)
    c22ac27 ci: Move sanitizers task from Cirrus to GitHub Actions (Hennadii Stepanov)
    
    Pull request description:
    
      This PR concludes the migration from Cirrus CI to GitHub Actions.
    
    ACKs for top commit:
      real-or-random:
        ACK 676ed8f
    
    Tree-SHA512: d8ea91a20297ff4c2c11a02c0a52f19413fde442c71e2e8b660737c09d62e55e4ae3f9bdbdeb0d967f6720a3dffa1566b7f94e0e32bcd490ac052819d5427c84
    real-or-random committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4d7fe60 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    317a4c4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cce0456 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Merge bitcoin-core/secp256k1#1411: ci: Make repetitive command the de…

    …fault one
    
    cce0456 ci: Make repetitive command the default one (Hennadii Stepanov)
    317a4c4 ci: Move `git config ...` to `run-in-docker-action` (Hennadii Stepanov)
    
    Pull request description:
    
      This PR addresses the bitcoin-core/secp256k1#1409 (comment):
      > couldn't we add this to `run-in-docker-action` to avoid duplication?
    
    ACKs for top commit:
      real-or-random:
        ACK cce0456
    
    Tree-SHA512: 793cec3d99853a23e06680fe35a7cae2dc8771f22e3940c4a4f36357273164f2d92e196768118d146e956ffca9ef59d4e5f86e1cba5576ebfdc59343581c9924
    real-or-random committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ea26b71 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    c223d7e View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Merge bitcoin-core/secp256k1#1412: ci: Switch macOS from Ventura to M…

    …onterey and add Valgrind
    
    c223d7e ci: Switch macOS from Ventura to Monterey and add Valgrind (Hennadii Stepanov)
    
    Pull request description:
    
      This PR switches the macOS native job from Ventura to Monterey, which allows to support Valgrind.
    
      Both runners--`macos-12` and `macos-13`--have the same clang compilers installed:
      - https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
      - https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
    
      But Valgrind works fine on macOS Monterey, but not on Ventura.
    
      See: bitcoin-core/secp256k1#1392 (comment).
    
      The Homebrew's Valgrind package is cached once it has been built (as it was before bitcoin-core/secp256k1#1152). Therefore, the `actions/cache@*` action is needed to be added to the list of the allowed actions.
    
      bitcoin-core/secp256k1#1412 (comment):
      > By the way, this solves #1151.
    
    ACKs for top commit:
      real-or-random:
        ACK c223d7e I tested that a cttest failure makes CI fail: https://github.com/real-or-random/secp256k1/actions/runs/6010365844
    
    Tree-SHA512: 5e72d89fd4d82acbda8adeda7106db0dad85162cca03abe8eae9a40393997ba36a84ad7b12c4b32aec5e9230f275738ef12169994cd530952e2b0b963449b231
    real-or-random committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    65c79fe View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. ci/Dockerfile: Always use versioned clang packages

    This commit switches to a new strategy to make sure we're installing the
    most recent LLVM packages. Before this commit, we used the unversioned
    LLVM packages (e.g., `clang` instead of `clang-18`), which are supposed
    to provide the latest snapshot, but this is broken for arm64 [1],
    which we want to add in a later PR.
    
    Anyway, the new approach is cleaner because it does not require us to
    fiddle with the installed `clang` package by removing a symlink.
    
    [1] llvm/llvm-project#64790
    
    Co-authored-by: Hennadii Stepanov <[email protected]>
    real-or-random and hebasto committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    6ebe7d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b8a647 View commit details
    Browse the repository at this point in the history
  3. ci/Dockerfile: Warn if ulimit -n is too high when running Docker

    The underlying issue does not affect our CI hosts, but is an issue on my
    development machine (Arch Linux). In particular, this affects the vanilla
    configuration of Docker on systemd, which has effectively no limit:
    https://github.com/docker/packaging/blob/11400a3f5a20f2e3eecc3e6347a2ad9ce41278c7/pkg/docker-engine/common/systemd/docker.service#L31
    
    I hope this saves future generations some precious hours of their life.
    real-or-random committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    2f0d3bb View commit details
    Browse the repository at this point in the history
  4. ci/Dockerfile: Reduce size of Docker image further

     - No need to have wget installed
     - Clean up rm -rf /var/lib/apt/lists/, see
       https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
    real-or-random committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    e78c7b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2635068 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Merge bitcoin-core/secp256k1#1414: ci/gha: Add ARM64 QEMU jobs for cl…

    …ang and clang-snapshot
    
    2635068 ci/gha: Let MSan continue checking after errors in all jobs (Tim Ruffing)
    e78c7b6 ci/Dockerfile: Reduce size of Docker image further (Tim Ruffing)
    2f0d3bb ci/Dockerfile: Warn if `ulimit -n` is too high when running Docker (Tim Ruffing)
    4b8a647 ci/gha: Add ARM64 QEMU jobs for clang and clang-snapshot (Tim Ruffing)
    6ebe7d2 ci/Dockerfile: Always use versioned clang packages (Tim Ruffing)
    
    Pull request description:
    
      Solves one item in bitcoin-core/secp256k1#1392.
    
      This PR also has a few tweaks to the Dockerfile, see individual commits.
    
      ---
    
      I'll follow up soon with a PR for ARM64/gcc. This will rely on Cirrus CI.
    
    ACKs for top commit:
      hebasto:
        ACK 2635068.
    
    Tree-SHA512: d290bdd8e8e2a2a2b6ccb1b25ecdc9662c51dab745068a98044b9abed75232d13cb9d2ddc2c63c908dcff6a12317f0c7a35db3288c57bc3b814793f7fce059fd
    real-or-random committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    727bec5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    875b0ad View commit details
    Browse the repository at this point in the history
  3. tests: remove unnecessary test in run_ec_pubkey_parse_test

    This test tested whether setting the callback works correctly which should be
    tested in the context tests.
    jonasnick committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    a1d52e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9b3889 View commit details
    Browse the repository at this point in the history
  5. ci: Add release job

    The new job runs checks outlined in the `doc/release-process.md`.
    hebasto committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    8659a01 View commit details
    Browse the repository at this point in the history
  6. Merge bitcoin-core/secp256k1#1413: ci: Add release job

    8659a01 ci: Add `release` job (Hennadii Stepanov)
    f9b3889 ci: Update `actions/checkout` version (Hennadii Stepanov)
    
    Pull request description:
    
      This PR introduces a new "Release" job that conducts sanity checks as defined in [`doc/release-process.md`](https://github.com/bitcoin-core/secp256k1/blob/master/doc/release-process.md#sanity-checks).
    
    ACKs for top commit:
      sipa:
        ACK 8659a01
      real-or-random:
        ACK 8659a01
    
    Tree-SHA512: 84e03fa07f8c41aec0f6d1ccb4ac3643e85d370ef7e388b335365deadb555f2d9ef7e5d80e1255a18e790a774e04ca66f265b9441402b183d4c535a97688f20f
    real-or-random committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    0b4640a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bd9d98d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b0f7bfe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d9a8506 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1633980 View commit details
    Browse the repository at this point in the history
  11. tests: Replace counting_illegal_callbacks with CHECK_ILLEGAL_VOID

    This commit also explicitly initializes shortpubkey. For some reason, removing
    surrounding, unrelated lines results in gcc warnings when configured with
    --enable-ctime-tests=no --with-valgrind=no.
    jonasnick committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    f8d7ea6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7030364 View commit details
    Browse the repository at this point in the history
  13. Merge bitcoin-core/secp256k1#1415: release: Prepare for 0.4.0

    1633980 release: Prepare for 0.4.0 (Tim Ruffing)
    d9a8506 changelog: Catch up in preparation of release (Tim Ruffing)
    
    Pull request description:
    
    ACKs for top commit:
      hebasto:
        re-ACK 1633980.
      sipa:
        ACK 1633980
      jonasnick:
        ACK 1633980
    
    Tree-SHA512: 9b29edc8beece44cb8456de9844bf22e13f41b43bb5567b3f37dcbdcb7cd5ca6a976a0f805973ddfa7666509aa452247a4d8297e3cfb362acaf4f0fa942daa21
    jonasnick committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    199d27c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9b118bc View commit details
    Browse the repository at this point in the history
  15. Merge bitcoin-core/secp256k1#1417: release cleanup: bump version afte…

    …r 0.4.0
    
    9b118bc release cleanup: bump version after 0.4.0 (Jonas Nick)
    
    Pull request description:
    
      based on #1415
    
    ACKs for top commit:
      sipa:
        ACK 9b118bc
      hebasto:
        ACK 9b118bc
      real-or-random:
        ACK 9b118bc
    
    Tree-SHA512: 76df87c41bdc3379df4e88619645f5110010d7713ebe20bad3e7c99472bd62b90f4bd3c6b558ad5a23119acc4734e39383d96a9800e4a43dfadc086ef66fd0ab
    real-or-random committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    cbf3053 View commit details
    Browse the repository at this point in the history
  16. Merge bitcoin-core/secp256k1#1390: tests: Replace counting_illegal_ca…

    …llbacks with CHECK_ILLEGAL_VOID
    
    7030364 tests: add CHECK_ERROR_VOID and use it in scratch tests (Jonas Nick)
    f8d7ea6 tests: Replace counting_illegal_callbacks with CHECK_ILLEGAL_VOID (Jonas Nick)
    a1d52e3 tests: remove unnecessary test in run_ec_pubkey_parse_test (Jonas Nick)
    875b0ad tests: remove unnecessary set_illegal_callback (Jonas Nick)
    
    Pull request description:
    
      Fixes #1167
    
    ACKs for top commit:
      siv2r:
        reACK 7030364 (tests pass locally)
      real-or-random:
        reACK 7030364
    
    Tree-SHA512: 0ca1f1c92a1c3a93b412433e53e882be56f3c7c55d4cbf12683ab7d9b8a916231b6508270099bfed0bfaa9d0af19cb8fdf0fe3274112ab48d33a0bd2356f2fa7
    real-or-random committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    49be5be View commit details
    Browse the repository at this point in the history
  17. Merge bitcoin-core/secp256k1#1416: doc: Align documented scripts with…

    … CI ones
    
    b0f7bfe doc: Do not mention soname in CHANGELOG.md "ABI Compatibility" section (Hennadii Stepanov)
    bd9d98d doc: Align documented scripts with CI ones (Hennadii Stepanov)
    
    Pull request description:
    
    ACKs for top commit:
      sipa:
        ACK b0f7bfe
      real-or-random:
        ACK b0f7bfe
    
    Tree-SHA512: 99cbc065cf9610923a863bac34e607ce4f2b1fe71fc32cb96fed33203e42c914ef29924cd9eade89859f63fdd95ffb214c5a2a1066bfca9c202e85aec5f7c16e
    jonasnick committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    b10ddd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. cmake: Install libsecp256k1.pc file

    This change allows downstream projects to use pkg-config to search for
    the libsecp256k1 library that is built with CMake.
    hebasto committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    9f005c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    421d848 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Merge bitcoin-core/secp256k1#1422: cmake: Install libsecp256k1.pc file

    421d848 ci: Align Autotools/CMake `CI_INSTALL` directory names (Hennadii Stepanov)
    9f005c6 cmake: Install `libsecp256k1.pc` file (Hennadii Stepanov)
    
    Pull request description:
    
      This PR allows downstream projects to use pkg-config to search for the libsecp256k1 library that is built with CMake.
    
      Addressed bitcoin-core/secp256k1#1419 (comment):
      > We could just ship the pkg-config file also in CMake builds.
    
    ACKs for top commit:
      real-or-random:
        ACK bitcoin-core/secp256k1@421d848 I compared the generated pc files and they match in autotools and CMake
    
    Tree-SHA512: 8e54eb7c76bc727ab18715258c06cc2a419c6c04892a2bd7bfe34392f9a3223f673ff84d2d21b00b3c222b357f02296ec49c872532d98ea0a2f17ef1ed6b6ac1
    real-or-random committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    4fd00f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9d80fd View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Merge bitcoin-core/secp256k1#1424: ci: Bump major versions for docker…

    … actions
    
    d9d80fd ci: Bump major versions for docker actions (Hennadii Stepanov)
    
    Pull request description:
    
      See:
      - https://github.com/docker/build-push-action/releases/tag/v5.0.0
      - https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0
    
    ACKs for top commit:
      real-or-random:
        ACK d9d80fd
    
    Tree-SHA512: b1266e46cd02f8e893b4ce3b4bf51f7fb2ea7c6ae54a5c24a4bc5df4f6e97e99afaf90cf598d4321e8b83a250ba5fd7d43c34d53a8cc71f70f6c6e05cc973d6f
    real-or-random committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    ba9cb6f View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Merge bitcoin-core/secp256k1#1395: tests: simplify `random_fe_non_zer…

    …o` (remove loop limit and unneeded normalize)
    
    c45b7c4 refactor: introduce testutil.h (deduplicate `random_fe_`, `ge_equals_` helpers) (Sebastian Falbesoner)
    dc55141 tests: simplify `random_fe_non_zero` (remove loop limit and unneeded normalize) (Sebastian Falbesoner)
    
    Pull request description:
    
      `random_fe_non_zero` contains a loop iteration limit that ensures that we abort if `random_fe` ever yielded zero more than ten times in a row. This construct was first introduced in PR BlockstreamResearch#19 (commit 09ca4f3) for random non-square field elements and was later refactored into the non-zero helper in PR BlockstreamResearch#25 (commit 6d6102f). The copy-over to the exhaustive tests happened recently in PR #1118 (commit 0f86420).
    
      This case seems to be practically irrelevant and I'd argue for keeping things simple and removing it (which was already suggested in bitcoin-core/secp256k1#1118 (comment)); if there's really a worry that the test's random generator is heavily biased towards certain values or value ranges then there should consequently be checks at other places too (e.g. directly in `random_fe` for 256-bit values that repeatedly overflow, i.e. >= p).
    
      Also, the _fe_normalize call is not needed and can be removed, as the result of `random_fe` is already normalized.
    
    ACKs for top commit:
      real-or-random:
        utACK c45b7c4
      siv2r:
        ACK `c45b7c4` (reviewed the changes and tests for both the commits passed locally).
    
    Tree-SHA512: 4ffa66dd0b8392d7d0083a71e7b0682ad18f9261fd4ce8548c3059b497d3462db97e16114fded9787661ca447a877a27f5b996bd7d47e6f91c4454079d28a8ac
    real-or-random committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ee7aaf2 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Merge commits '1b13415d 374e2b5 96294c0 8d2960c ce765a5 b2f6712 eedd781

    b327abf 5d8fa82 3d05c86 bcffeb1 de657c2 060e32c 0ba2b94 48b1d93 6b9507a 5373693 2e6cf9b 6ee1455 26a9899 4d7fe60 ea26b71 65c79fe 727bec5 0b4640a 199d27c cbf3053 49be5be b10ddd2 4fd00f4 ba9cb6f ee7aaf2 ' into temp-merge-1395
    
    - Replace fe_equal_var with fe_equal
    - Use CHECK_ILLEGAL instead of CHECK/ecount
    - Turn on secp256k1-zkp specific modules in CI
    jonasnick committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    775f5e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    e9d522f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a3aae8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b41caaa View commit details
    Browse the repository at this point in the history