1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:14:44 -07:00

crypto/elliptic: fix some typos

This commit is contained in:
chenjie 2021-03-30 15:19:17 +08:00
parent 032ef4bbfc
commit 3fde453686
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ func p256ReduceDegree(out *[p256Limbs]uint32, tmp [17]uint64) {
var tmp2 [18]uint32 var tmp2 [18]uint32
var carry, x, xMask 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 // field element. So the top of an element of tmp might overlap with
// another element two positions down. The following loop eliminates // another element two positions down. The following loop eliminates
// this overlap. // this overlap.

View File

@ -870,7 +870,7 @@ TEXT ·p256FromMont(SB), NOSPLIT, $0-48
* *Mi obra de arte de siglo XXI @vpaprots * *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 |--|-----+ * +-------| ADD2 | ADD1 |--|-----+
* | +--------+--------+ | | * | +--------+--------+ | |