From: Filippo Valsorda Date: Wed, 25 Nov 2020 01:40:32 +0000 (+0100) Subject: crypto/ed25519/internal/edwards25519: fix typo in comments X-Git-Tag: go1.16beta1~112 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2d0258d495;p=gostls13.git crypto/ed25519/internal/edwards25519: fix typo in comments Change-Id: I8133762d53d9e5d3cc13e0f97b9679a3248a7f0f Reviewed-on: https://go-review.googlesource.com/c/go/+/273087 Trust: Filippo Valsorda Reviewed-by: Katie Hockman --- diff --git a/src/crypto/ed25519/internal/edwards25519/edwards25519.go b/src/crypto/ed25519/internal/edwards25519/edwards25519.go index fd03c252af..b091481b77 100644 --- a/src/crypto/ed25519/internal/edwards25519/edwards25519.go +++ b/src/crypto/ed25519/internal/edwards25519/edwards25519.go @@ -722,7 +722,7 @@ func (p *ExtendedGroupElement) FromBytes(s *[32]byte) bool { FeOne(&p.Z) FeSquare(&u, &p.Y) FeMul(&v, &u, &d) - FeSub(&u, &u, &p.Z) // y = y^2-1 + FeSub(&u, &u, &p.Z) // u = y^2-1 FeAdd(&v, &v, &p.Z) // v = dy^2+1 FeSquare(&v3, &v)