musigPartialSigVerify

abstract fun musigPartialSigVerify(psig: ByteArray, pubnonce: ByteArray, pubkey: ByteArray, keyaggCache: ByteArray, session: ByteArray): Int

Verify the partial signature from one of the signing session's participants.

Return

result code (1 if the partial signature is valid, 0 otherwise).

Parameters

psig

32-byte partial signature.

pubnonce

individual public nonce of the signing participant.

pubkey

individual public key of the signing participant.

keyaggCache

aggregated public key cache filled by calling musigPubkeyAgg with the public keys of all participants.

session

signing session context (see musigNonceProcess).