Skip to content

Commit

Permalink
Update vendored libsecp to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding authored and Davidson-Souza committed Sep 22, 2023
1 parent 186b643 commit dccaf41
Show file tree
Hide file tree
Showing 70 changed files with 4,024 additions and 1,109 deletions.
6 changes: 6 additions & 0 deletions secp256k1-sys/depend/lax_der_parsing.c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
10c10,12
<
---
> extern int secp256k1_ecdsa_signature_parse_compact(
> const secp256k1_context *ctx,
> secp256k1_ecdsa_signature *sig, const unsigned char *input64);
2 changes: 1 addition & 1 deletion secp256k1-sys/depend/secp256k1-HEAD-revision.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file was automatically created by vendor-libsecp.sh
acf5c55ae6a94e5ca847e07def40427547876101
199d27cea32203b224b208627533c2e813cd3b21
24 changes: 19 additions & 5 deletions secp256k1-sys/depend/secp256k1.h.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
279,281d278
236d235
< SECP256K1_API const secp256k1_context *secp256k1_context_static;
239,240d237
< SECP256K1_API const secp256k1_context *secp256k1_context_no_precomp
< SECP256K1_DEPRECATED("Use secp256k1_context_static instead");
286,289d282
< SECP256K1_API secp256k1_context *secp256k1_context_create(
< unsigned int flags
< ) SECP256K1_WARN_UNUSED_RESULT;
295,297d291
<
302,305d294
< SECP256K1_API secp256k1_context *secp256k1_context_clone(
< const secp256k1_context *ctx
< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
313,315d306
<
320,323d308
< SECP256K1_API void secp256k1_context_destroy(
< secp256k1_context *ctx
< ) SECP256K1_ARG_NONNULL(1);
395,398d385
<
402,406d386
< SECP256K1_API SECP256K1_WARN_UNUSED_RESULT secp256k1_scratch_space *secp256k1_scratch_space_create(
< const secp256k1_context *ctx,
< size_t size
< ) SECP256K1_ARG_NONNULL(1);
406,409d392
<
413,417d392
< SECP256K1_API void secp256k1_scratch_space_destroy(
< const secp256k1_context *ctx,
< secp256k1_scratch_space *scratch
< ) SECP256K1_ARG_NONNULL(1);
<
636d610
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
639d612
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_default;
Loading

0 comments on commit dccaf41

Please sign in to comment.