musigPartialSign

abstract fun musigPartialSign(secnonce: ByteArray, privkey: ByteArray, keyaggCache: ByteArray, session: ByteArray): ByteArray

Create a partial signature.

Return

32-byte partial signature.

Parameters

secnonce

signer's secret nonce (see musigNonceGen).

privkey

signer's private key.

keyaggCache

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

session

signing session context (see musigNonceProcess).