btcd/btcec/schnorr/musig2
Olaoluwa Osuntokun 65e4fc0dea
btcec/schnorr/musig2: update nonce generation to support optional inputs
In this commit, we update the nonce generation to support optional
parameters defined in the latest BIP draft. These parameters are
optional, but if specified my mitigate the effect of weak randomness
when generating the nonce.

Given the protocol doesn't require signers to prove how they generate
their nonces, this update is mainly to ensure strict spec compliance,
and is effectively optional.
2022-04-28 16:20:01 -07:00
..
bench_test.go schnorr/musig2: add native support for taproot output key tweaking 2022-04-28 16:19:57 -07:00
context.go btcec/schnorr/musig2: add explicit support for BIP 86 multi-signing 2022-04-28 16:19:59 -07:00
keys.go btcec/schnorr/musig2: add explicit support for BIP 86 multi-signing 2022-04-28 16:19:59 -07:00
musig2_test.go btcec/schnorr/musig2: add explicit support for BIP 86 multi-signing 2022-04-28 16:19:59 -07:00
nonces.go btcec/schnorr/musig2: update nonce generation to support optional inputs 2022-04-28 16:20:01 -07:00
sign.go btcec/schnorr/musig2: add explicit support for BIP 86 multi-signing 2022-04-28 16:19:59 -07:00