Skip to content

Commit 46a2c48

Browse files
committed
Updates upstream to 725d895fc54cf82da1c2a9c69048656405da556d
See also the changed patch: secp256k1.h.patch
1 parent b1a3048 commit 46a2c48

File tree

180 files changed

+44206
-13179
lines changed

Some content is hidden

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

180 files changed

+44206
-13179
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-zkp"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>",
66
"Lucas Soriano <[email protected]>",
@@ -31,7 +31,7 @@ use-rand = ["rand", "secp256k1/rand"]
3131

3232
[dependencies]
3333
secp256k1 = "0.22.1"
34-
secp256k1-zkp-sys = { version = "0.5.0", default-features = false, path = "./secp256k1-zkp-sys" }
34+
secp256k1-zkp-sys = { version = "0.6.0", default-features = false, path = "./secp256k1-zkp-sys" }
3535
rand = { version = "0.6", default-features = false, optional = true }
3636
serde = { version = "1.0", default-features = false, optional = true }
3737

secp256k1-zkp-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-zkp-sys"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>",
66
"Steven Roose <[email protected]>",
@@ -13,7 +13,7 @@ description = "FFI for `libsecp256k1-zkp` library."
1313
keywords = [ "secp256k1", "libsecp256k1-zkp", "ffi" ]
1414
readme = "README.md"
1515
build = "build.rs"
16-
links = "rustsecp256k1zkp_v0_5_0"
16+
links = "rustsecp256k1zkp_v0_6_0"
1717

1818
# Should make docs.rs show all functions, even those behind non-default features
1919
[package.metadata.docs.rs]

secp256k1-zkp-sys/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,7 @@ fn main() {
7474
base_config
7575
.file("depend/secp256k1/contrib/lax_der_parsing.c")
7676
.file("depend/secp256k1/src/secp256k1.c")
77+
.file("depend/secp256k1/src/precomputed_ecmult_gen.c")
78+
.file("depend/secp256k1/src/precomputed_ecmult.c")
7779
.compile("libsecp256k1zkp.a");
7880
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file was automatically created by ./vendor-libsecp.sh
2-
f3708a1ecb445b1b05a0f8fcd1da6a88f83d89c4
2+
725d895fc54cf82da1c2a9c69048656405da556d

secp256k1-zkp-sys/depend/secp256k1.h.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
202,204d201
1+
226,228d225
22
< SECP256K1_API secp256k1_context* secp256k1_context_create(
33
< unsigned int flags
44
< ) SECP256K1_WARN_UNUSED_RESULT;
5-
215,217d211
5+
231,233d227
66
< SECP256K1_API secp256k1_context* secp256k1_context_clone(
77
< const secp256k1_context* ctx
88
< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
9-
232,234d225
9+
248,250d241
1010
< SECP256K1_API void secp256k1_context_destroy(
1111
< secp256k1_context* ctx
12-
< );
13-
311,314d301
12+
< ) SECP256K1_ARG_NONNULL(1);
13+
327,330d317
1414
< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space* secp256k1_scratch_space_create(
1515
< const secp256k1_context* ctx,
1616
< size_t size
1717
< ) SECP256K1_ARG_NONNULL(1);
18-
322,325d308
18+
338,341d324
1919
< SECP256K1_API void secp256k1_scratch_space_destroy(
2020
< const secp256k1_context* ctx,
2121
< secp256k1_scratch_space* scratch

0 commit comments

Comments
 (0)