Merge elementsproject/secp256k1-zkp#229: musig: Fix nits left open in #211
a0b51afc01musig: VERIFY_CHECK preconditions of _musig_keyaggcoef_internal() (Tim Ruffing)da7702844eextrakeys: Clarify comparison order of compare/sort functions (Tim Ruffing) Pull request description: ACKs for top commit: jonasnick: ACKa0b51afc01Tree-SHA512: ad509d7a55c6f832a25b896b0fe38e259b79864b2a8d1fb337b9d9b4a5e1950a9d579040285465c89d815becc6e49af4129ab2d904d32ac98cef74357a440c89
This commit is contained in:
@@ -242,7 +242,8 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_xonly_tweak_add
|
||||
const unsigned char *tweak32
|
||||
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
|
||||
|
||||
/** Compare two public keys using lexicographic order
|
||||
/** Compare two public keys using lexicographic order of their compressed
|
||||
* serialization.
|
||||
*
|
||||
* Returns: <0 if the first public key is less than the second
|
||||
* >0 if the first public key is greater than the second
|
||||
@@ -257,7 +258,8 @@ SECP256K1_API int secp256k1_pubkey_cmp(
|
||||
const secp256k1_pubkey* pk2
|
||||
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
|
||||
|
||||
/** Sorts public keys using lexicographic order
|
||||
/** Sort public keys using lexicographic order of their compressed
|
||||
* serialization.
|
||||
*
|
||||
* Returns: 0 if the arguments are invalid. 1 otherwise.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user