Skip to content

Commit a81b5e4

Browse files
jaychenthinkfastbenshi001
authored andcommitted
crypto/elliptic: fix some typos
Change-Id: I1c2900d4e1c0b6108f13c4060d994d966f3e18f3 GitHub-Last-Rev: 3fde453 GitHub-Pull-Request: #45295 Reviewed-on: https://go-review.googlesource.com/c/go/+/305773 Reviewed-by: Emmanuel Odeke <[email protected]> Reviewed-by: Ben Shi <[email protected]> Run-TryBot: Emmanuel Odeke <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 032ef4b commit a81b5e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crypto/elliptic/p256.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func p256ReduceDegree(out *[p256Limbs]uint32, tmp [17]uint64) {
327327
var tmp2 [18]uint32
328328
var carry, x, xMask uint32
329329

330-
// tmp contains 64-bit words with the same 29,28,29-bit positions as an
330+
// tmp contains 64-bit words with the same 29,28,29-bit positions as a
331331
// field element. So the top of an element of tmp might overlap with
332332
// another element two positions down. The following loop eliminates
333333
// this overlap.

src/crypto/elliptic/p256_asm_ppc64le.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ TEXT ·p256FromMont(SB), NOSPLIT, $0-48
870870
* *Mi obra de arte de siglo XXI @vpaprots
871871
*
872872
*
873-
* First group is special, doesnt get the two inputs:
873+
* First group is special, doesn't get the two inputs:
874874
* +--------+--------+<-+
875875
* +-------| ADD2 | ADD1 |--|-----+
876876
* | +--------+--------+ | |

0 commit comments

Comments
 (0)