Page MenuHomePhabricator

[secp256k1] Add `secp256k1_ec_pubkey_cmp` and `secp256k1_xonly_pubkey_cmp`
ClosedPublic

Authored by tobias_ruck on Tue, Oct 22, 17:27.

Details

Summary

Allows comparing secp256k1_pubkey and secp256k1_xonly_pubkey respectively, to establish an order between them.

This is a backport of secp256k1#850 and secp256k1#926.

We need this for porting rust-secp256k1 to the secp256k1 library of this repo.

Test Plan

ninja check-secp256k1

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

also backport secp256k1#926 too

This revision is now accepted and ready to land.Tue, Oct 22, 19:28