Commit 1170d946 authored by Alexander F Rødseth's avatar Alexander F Rødseth Committed by Brad Fitzpatrick

crypto: fix typos in the comments

* Fix typos in the comments in the assembly code for the crypto package.

Change-Id: Iac146a7d8bee4a680a8d4d3af533fbc1b259482d
GitHub-Last-Rev: 65090a38956df4c14bf55df4881c76e8c3d32447
GitHub-Pull-Request: golang/go#25606
Reviewed-on: https://go-review.googlesource.com/114803Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 68de5508
......@@ -991,7 +991,7 @@ TEXT ·p256OrdMul(SB), NOSPLIT, $0
* *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 |--|-----+
* | +--------+--------+ | |
......
......@@ -395,7 +395,7 @@ end:
PRECALC_32_79(Y13,Y14,Y15,Y5,Y12,0x60,0x240) \
PRECALC_32_79(Y12,Y13,Y14,Y3,Y8,0x60,0x260)
// Macros calculating individual rounds have general forn
// Macros calculating individual rounds have general form
// CALC_ROUND_PRE + PRECALC_ROUND + CALC_ROUND_POST
// CALC_ROUND_{PRE,POST} macros follow
......@@ -413,7 +413,7 @@ end:
LEAL (REG_E)(R12*1), REG_E // E += A >>> 5
// Registers are cycleickly rotated DX -> AX -> DI -> SI -> BX -> CX
// Registers are cyclically rotated DX -> AX -> DI -> SI -> BX -> CX
#define CALC_0 \
MOVL SI, BX \ // Precalculating first round
RORXL $2, SI, SI \
......
......@@ -755,7 +755,7 @@ avx2_loop1: // for w0 - w47
JB avx2_loop1
avx2_loop2:
// w48 - w63 processed with no scheduliung (last 16 rounds)
// w48 - w63 processed with no scheduling (last 16 rounds)
VPADDD 0*32(TBL)(SRND*1), XDWORD0, XFER
VMOVDQU XFER, (_XFER + 0*32)(SP)(SRND*1)
DO_ROUND_N_0(_XFER + 0*32, a, b, c, d, e, f, g, h, h)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment