Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Dec 24, 2024
1 parent 8f662fe commit 1c3a625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hppk.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func verifySignature(sig *Signature, digest []byte, pub *PublicKey, prime *big.I
}

// createCoPrimePair generates a pair of coprime numbers (R, S) greater than the given prime p.
// The possibility or 2 random numbers being coprime is 6/pi^2
// The possibility for 2 randomly choosen numbers to be coprime is 6/pi^2
func createCoPrimePair(polyTerms int, p *big.Int) (R *big.Int, S *big.Int, err error) {
one := big.NewInt(1)

Expand Down

0 comments on commit 1c3a625

Please sign in to comment.