Skip to content

Commit 3f5b6d3

Browse files
Update vendored libsecp to v0.4.0
1 parent 0d84672 commit 3f5b6d3

File tree

151 files changed

+21652
-7938
lines changed

Some content is hidden

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

151 files changed

+21652
-7938
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ global-context = ["std"]
3535
global-context-less-secure = ["global-context"]
3636

3737
[dependencies]
38-
secp256k1-sys = { version = "0.8.1", default-features = false, path = "./secp256k1-sys" }
38+
secp256k1-sys = { version = "0.9.0", default-features = false, path = "./secp256k1-sys" }
3939
serde = { version = "1.0.103", default-features = false, optional = true }
4040

4141
# You likely only want to enable these if you explicitly do not want to use "std", otherwise enable

secp256k1-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-sys"
3-
version = "0.8.1"
3+
version = "0.9.0"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>",
66
"Steven Roose <[email protected]>" ]
@@ -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_8_1"
15+
links = "rustsecp256k1_v0_9_0"
1616
edition = "2018"
1717

1818
[package.metadata.docs.rs]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
10c10,12
2+
<
3+
---
4+
> extern int secp256k1_ecdsa_signature_parse_compact(
5+
> const secp256k1_context *ctx,
6+
> secp256k1_ecdsa_signature *sig, const unsigned char *input64);
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file was automatically created by vendor-libsecp.sh
2-
21ffe4b22a9683cf24ae0763359e401d1284cc7a
2+
199d27cea32203b224b208627533c2e813cd3b21
+19-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1-
279,281d278
1+
236d235
2+
< SECP256K1_API const secp256k1_context *secp256k1_context_static;
3+
239,240d237
4+
< SECP256K1_API const secp256k1_context *secp256k1_context_no_precomp
5+
< SECP256K1_DEPRECATED("Use secp256k1_context_static instead");
6+
286,289d282
27
< SECP256K1_API secp256k1_context *secp256k1_context_create(
38
< unsigned int flags
49
< ) SECP256K1_WARN_UNUSED_RESULT;
5-
295,297d291
10+
<
11+
302,305d294
612
< SECP256K1_API secp256k1_context *secp256k1_context_clone(
713
< const secp256k1_context *ctx
814
< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
9-
313,315d306
15+
<
16+
320,323d308
1017
< SECP256K1_API void secp256k1_context_destroy(
1118
< secp256k1_context *ctx
1219
< ) SECP256K1_ARG_NONNULL(1);
13-
395,398d385
20+
<
21+
402,406d386
1422
< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space *secp256k1_scratch_space_create(
1523
< const secp256k1_context *ctx,
1624
< size_t size
1725
< ) SECP256K1_ARG_NONNULL(1);
18-
406,409d392
26+
<
27+
413,417d392
1928
< SECP256K1_API void secp256k1_scratch_space_destroy(
2029
< const secp256k1_context *ctx,
2130
< secp256k1_scratch_space *scratch
2231
< ) SECP256K1_ARG_NONNULL(1);
32+
<
33+
636d610
34+
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
35+
639d612
36+
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_default;

0 commit comments

Comments
 (0)