mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-12 19:02:12 +01:00
schnorr: correct rfc reference in docs
The RFC used for deterministic nonce generation is rfc6979, not rfc6679. This commit fixes documentation in two places accordingly.
This commit is contained in:
parent
6f93d9f40d
commit
880d9f9026
1 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ func schnorrSign(privKey, nonce *btcec.ModNScalar, pubKey *btcec.PublicKey, hash
|
|||
//
|
||||
// Note that the set of functional options passed in may modify the
|
||||
// above algorithm. Namely if CustomNonce is used, then steps 6-8 are
|
||||
// replaced with a process that generates the nonce using rfc6679. If
|
||||
// replaced with a process that generates the nonce using rfc6979. If
|
||||
// FastSign is passed, then we skip set 14.
|
||||
|
||||
// NOTE: Steps 1-9 are performed by the caller.
|
||||
|
@ -436,7 +436,7 @@ func Sign(privKey *btcec.PrivateKey, hash []byte,
|
|||
//
|
||||
// Note that the set of functional options passed in may modify the
|
||||
// above algorithm. Namely if CustomNonce is used, then steps 6-8 are
|
||||
// replaced with a process that generates the nonce using rfc6679. If
|
||||
// replaced with a process that generates the nonce using rfc6979. If
|
||||
// FastSign is passed, then we skip set 14.
|
||||
|
||||
// Step 1.
|
||||
|
|
Loading…
Add table
Reference in a new issue