Page MenuHomePhabricator

[secp256k1] Backport "Schnorrsig API overhaul"
ClosedPublic

Authored by tobias_ruck on Oct 22 2024, 17:48.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCc422b039a7f5: [secp256k1] Backport "Schnorrsig API overhaul"
Summary

Bitcoin Core changed the C API for BIP340 Schnorr signatures within secp256k1. We don't use them in Bitcoin ABC, so thus far this backport was not needed.

This is a backport of secp256k1#844.

Now we do need this backport mostly for secp256k1_schnorrsig_sign_custom for porting rust-secp256k1 to the secp256k1 library of this repo.

Depends on D16957.

Test Plan

ninja check-secp256k1

Event Timeline

tobias_ruck edited the summary of this revision. (Show Details)

Please also backport the fixups https://github.com/bitcoin-core/secp256k1/pull/963.
Because it's shnorrsig it's fine to do it in another diff.

This revision is now accepted and ready to land.Oct 23 2024, 09:30
Fabien requested changes to this revision.Oct 23 2024, 09:31

The change to the README is missing

This revision now requires changes to proceed.Oct 23 2024, 09:31

also backport README change

This revision is now accepted and ready to land.Oct 23 2024, 16:04