aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/ed25519/internal/edwards25519/tables.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/ed25519/internal/edwards25519/tables.go')
-rw-r--r--src/crypto/ed25519/internal/edwards25519/tables.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/ed25519/internal/edwards25519/tables.go b/src/crypto/ed25519/internal/edwards25519/tables.go
index beec956bf7..5ca40f7bfa 100644
--- a/src/crypto/ed25519/internal/edwards25519/tables.go
+++ b/src/crypto/ed25519/internal/edwards25519/tables.go
@@ -40,7 +40,7 @@ func (v *projLookupTable) FromP3(q *Point) {
for i := 0; i < 7; i++ {
// Compute (i+1)*Q as Q + i*Q and convert to a ProjCached
// This is needlessly complicated because the API has explicit
- // recievers instead of creating stack objects and relying on RVO
+ // receivers instead of creating stack objects and relying on RVO
v.points[i+1].FromP3(tmpP3.fromP1xP1(tmpP1xP1.Add(q, &v.points[i])))
}
}