btcd/btcec/schnorr
Erick Cestari 3a0df88558
btcec/schnorr: fix nonce generation comments
The comments in schnorrSign and Sign incorrectly stated that CustomNonce
triggers RFC6979 nonce generation. The actual behavior is the opposite:

- With CustomNonce: BIP-340 compliant nonce derivation (steps 6-8)
- Without CustomNonce (default): RFC6979 deterministic nonce generation

Also fixes typo "set 14" -> "step 14".
2026-01-15 09:35:47 -03:00
..
musig2 musig2: add combinedNonce getter 2025-10-13 09:37:35 +02:00
bench_test.go btcec/schnorr: add benchmarks for sign/verify 2022-01-31 14:40:35 -08:00
error.go btcec/v2/schnorr: add initial BIP-340 schnorr sig implementation 2022-01-31 14:25:47 -08:00
pubkey.go btcec/v2/schnorr: add initial BIP-340 schnorr sig implementation 2022-01-31 14:25:47 -08:00
signature.go btcec/schnorr: fix nonce generation comments 2026-01-15 09:35:47 -03:00
signature_test.go btcec: fix typo 2024-01-09 17:12:36 +08:00