Skip to content

Commit

Permalink
Lint fix curve25519
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed May 31, 2024
1 parent 6b48bd8 commit 7cac17a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group/curve25519/ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ func (p *extPoint) normalize() {
}

// Check the validity of the T coordinate
//
//nolint:unused // may be useful
func (p *extPoint) checkT() {
var t1, t2 mod.Int
if !t1.Mul(&p.X, &p.Y).Equal(t2.Mul(&p.Z, &p.T)) {
Expand Down

0 comments on commit 7cac17a

Please sign in to comment.