musigPubkeyTweakAdd

abstract fun musigPubkeyTweakAdd(keyaggCache: ByteArray, tweak32: ByteArray): ByteArray

Tweak the aggregated public key of a signing session.

Return

P + tweak32 * G (where P is the aggregated public key from keyaggCache). The key aggregation cache will be updated with the tweaked public key.

Parameters

keyaggCache

key aggregation cache filled by musigPubkeyAgg.

tweak32

private key tweak to apply.