From: chenjie Date: Tue, 30 Mar 2021 07:23:53 +0000 (+0000) Subject: crypto/elliptic: fix some typos X-Git-Tag: go1.17beta1~928 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a81b5e4d0a;p=gostls13.git crypto/elliptic: fix some typos Change-Id: I1c2900d4e1c0b6108f13c4060d994d966f3e18f3 GitHub-Last-Rev: 3fde453686ab3fdeb77d2f73c09e4a679056adf3 GitHub-Pull-Request: golang/go#45295 Reviewed-on: https://go-review.googlesource.com/c/go/+/305773 Reviewed-by: Emmanuel Odeke Reviewed-by: Ben Shi Run-TryBot: Emmanuel Odeke TryBot-Result: Go Bot --- diff --git a/src/crypto/elliptic/p256.go b/src/crypto/elliptic/p256.go index 3bb7bb70b6..b2b12c8f13 100644 --- a/src/crypto/elliptic/p256.go +++ b/src/crypto/elliptic/p256.go @@ -327,7 +327,7 @@ func p256ReduceDegree(out *[p256Limbs]uint32, tmp [17]uint64) { var tmp2 [18]uint32 var carry, x, xMask uint32 - // tmp contains 64-bit words with the same 29,28,29-bit positions as an + // tmp contains 64-bit words with the same 29,28,29-bit positions as a // field element. So the top of an element of tmp might overlap with // another element two positions down. The following loop eliminates // this overlap. diff --git a/src/crypto/elliptic/p256_asm_ppc64le.s b/src/crypto/elliptic/p256_asm_ppc64le.s index 924e365c6c..69e96e2696 100644 --- a/src/crypto/elliptic/p256_asm_ppc64le.s +++ b/src/crypto/elliptic/p256_asm_ppc64le.s @@ -870,7 +870,7 @@ TEXT ·p256FromMont(SB), NOSPLIT, $0-48 * *Mi obra de arte de siglo XXI @vpaprots * * - * First group is special, doesnt get the two inputs: + * First group is special, doesn't get the two inputs: * +--------+--------+<-+ * +-------| ADD2 | ADD1 |--|-----+ * | +--------+--------+ | |