diff options
author | chenjie <chenjie@chenjie.info> | 2021-03-30 07:23:53 +0000 |
---|---|---|
committer | Ben Shi <powerman1st@163.com> | 2021-03-30 08:39:13 +0000 |
commit | a81b5e4d0a843e6ef28c8b933904a03fd8666f3e (patch) | |
tree | 3fe59e9f3a82617e8654a2a74f94cce3757b4e97 /src/crypto | |
parent | 032ef4bbfc5b976085c561eb4a134b780625f410 (diff) | |
download | go-a81b5e4d0a843e6ef28c8b933904a03fd8666f3e.tar.gz go-a81b5e4d0a843e6ef28c8b933904a03fd8666f3e.zip |
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 <emmanuel@orijtech.com>
Reviewed-by: Ben Shi <powerman1st@163.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/elliptic/p256.go | 2 | ||||
-rw-r--r-- | src/crypto/elliptic/p256_asm_ppc64le.s | 2 |
2 files changed, 2 insertions, 2 deletions
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 |--|-----+ * | +--------+--------+ | | |