Skip to content

Commit 3fde453

Browse files
crypto/elliptic: fix some typos
1 parent 032ef4b commit 3fde453

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)