This commit is contained in:
Caleb Doxsey 2023-02-17 15:18:14 -07:00
parent 372e101961
commit cd88b8f6dd

View file

@ -125,7 +125,7 @@ func Sign(rand io.Reader, priv *ecdsa.PrivateKey, hash []byte) (r, s *big.Int, e
c := priv.PublicKey.Curve
N := c.Params().N
var k, kInv *big.Int
var k, kInv *big.Int //nolint
for {
for {
k, err = randFieldElement(c, rand)
@ -152,5 +152,5 @@ func Sign(rand io.Reader, priv *ecdsa.PrivateKey, hash []byte) (r, s *big.Int, e
}
}
return
return //nolint
}