Skip to content

Commit 06ab8d0

Browse files
committed
Update codebase to version 0.6
1 parent 2bfda46 commit 06ab8d0

File tree

157 files changed

+16715
-17202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+16715
-17202
lines changed

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ dependencies = [
289289

290290
[[package]]
291291
name = "secp256k1-sys"
292-
version = "0.10.0"
292+
version = "0.11.0"
293293
dependencies = [
294294
"cc",
295295
"libc",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ dependencies = [
210210

211211
[[package]]
212212
name = "secp256k1-sys"
213-
version = "0.10.0"
213+
version = "0.11.0"
214214
dependencies = [
215215
"cc",
216216
"libc",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ global-context = ["std"]
3434
global-context-less-secure = ["global-context"]
3535

3636
[dependencies]
37-
secp256k1-sys = { version = "0.10.0", default-features = false, path = "./secp256k1-sys" }
37+
secp256k1-sys = { version = "0.11.0", default-features = false, path = "./secp256k1-sys" }
3838

3939
hashes = { package = "bitcoin_hashes", version = "0.14", default-features = false, optional = true }
4040
rand = { version = "0.8", default-features = false, optional = true }

secp256k1-sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-sys"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
55
"Andrew Poelstra <apoelstra@wpsoftware.net>",
66
"Steven Roose <steven@stevenroose.org>" ]
@@ -12,7 +12,7 @@ description = "FFI for Pieter Wuille's `libsecp256k1` library."
1212
keywords = [ "secp256k1", "libsecp256k1", "ffi" ]
1313
readme = "README.md"
1414
build = "build.rs"
15-
links = "rustsecp256k1_v0_10_0"
15+
links = "rustsecp256k1_v0_11"
1616
edition = "2021"
1717
rust-version = "1.63.0"
1818

secp256k1-sys/depend/scratch.h.patch

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
26,29d25
2+
< static secp256k1_scratch* secp256k1_scratch_create(const secp256k1_callback* error_callback, size_t max_size);
3+
<
4+
< static void secp256k1_scratch_destroy(const secp256k1_callback* error_callback, secp256k1_scratch* scratch);
5+
<
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file was automatically created by vendor-libsecp.sh
2-
1ad5185cd42c0636104129fcc9f6a4bf9c67cc40
2+
0cdc758a56360bf58a851fe91085a327ec97685a

secp256k1-sys/depend/secp256k1.c.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
< free(ctx);
3838
< }
3939
<
40-
220,229d183
40+
223,232d185
4141
< }
4242
<
43-
< secp256k1_scratch_space* secp256k1_scratch_space_create(const secp256k1_context* ctx, size_t max_size) {
43+
< static secp256k1_scratch_space* secp256k1_scratch_space_create(const secp256k1_context* ctx, size_t max_size) {
4444
< VERIFY_CHECK(ctx != NULL);
4545
< return secp256k1_scratch_create(&ctx->error_callback, max_size);
4646
< }
4747
<
48-
< void secp256k1_scratch_space_destroy(const secp256k1_context *ctx, secp256k1_scratch_space* scratch) {
48+
< static void secp256k1_scratch_space_destroy(const secp256k1_context *ctx, secp256k1_scratch_space* scratch) {
4949
< VERIFY_CHECK(ctx != NULL);
5050
< secp256k1_scratch_destroy(&ctx->error_callback, scratch);

secp256k1-sys/depend/secp256k1.h.patch

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818
< secp256k1_context *ctx
1919
< ) SECP256K1_ARG_NONNULL(1);
2020
<
21-
402,406d386
22-
< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space *secp256k1_scratch_space_create(
23-
< const secp256k1_context *ctx,
24-
< size_t size
25-
< ) SECP256K1_ARG_NONNULL(1);
26-
<
27-
413,417d392
28-
< SECP256K1_API void secp256k1_scratch_space_destroy(
29-
< const secp256k1_context *ctx,
30-
< secp256k1_scratch_space *scratch
31-
< ) SECP256K1_ARG_NONNULL(1);
32-
<
3321
636d610
3422
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
3523
639d612

secp256k1-sys/depend/secp256k1/.cirrus.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ env:
1010
MAKEFLAGS: -j4
1111
BUILD: check
1212
### secp256k1 config
13-
ECMULTWINDOW: auto
14-
ECMULTGENPRECISION: auto
13+
ECMULTWINDOW: 15
14+
ECMULTGENKB: 22
1515
ASM: no
1616
WIDEMUL: auto
1717
WITH_VALGRIND: yes
@@ -20,10 +20,12 @@ env:
2020
EXPERIMENTAL: no
2121
ECDH: no
2222
RECOVERY: no
23+
EXTRAKEYS: no
2324
SCHNORRSIG: no
25+
MUSIG: no
2426
ELLSWIFT: no
2527
### test options
26-
SECP256K1_TEST_ITERS:
28+
SECP256K1_TEST_ITERS: 64
2729
BENCH: yes
2830
SECP256K1_BENCH_ITERS: 2
2931
CTIMETESTS: yes
@@ -66,7 +68,9 @@ task:
6668
env:
6769
ECDH: yes
6870
RECOVERY: yes
71+
EXTRAKEYS: yes
6972
SCHNORRSIG: yes
73+
MUSIG: yes
7074
ELLSWIFT: yes
7175
matrix:
7276
# Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU
@@ -82,7 +86,9 @@ task:
8286
env:
8387
ECDH: yes
8488
RECOVERY: yes
89+
EXTRAKEYS: yes
8590
SCHNORRSIG: yes
91+
MUSIG: yes
8692
ELLSWIFT: yes
8793
WRAPPER_CMD: 'valgrind --error-exitcode=42'
8894
SECP256K1_TEST_ITERS: 2

secp256k1-sys/depend/secp256k1/.github/actions/install-homebrew-valgrind/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
cat valgrind_fingerprint
1717
shell: bash
1818
19-
- uses: actions/cache@v3
19+
- uses: actions/cache@v4
2020
id: cache
2121
with:
2222
path: ${{ env.CI_HOMEBREW_CELLAR_VALGRIND }}

0 commit comments

Comments
 (0)