go.crypto: match asm variable names to Go func declarations
R=golang-dev, r CC=golang-dev https://golang.org/cl/6544048
This commit is contained in:
Родитель
6ba10a7acb
Коммит
750c6a9860
|
@ -7,8 +7,8 @@ package curve25519
|
|||
// These functions are implemented in the .s files. The names of the functions
|
||||
// in the rest of the file are also taken from the SUPERCOP sources to help
|
||||
// people following along.
|
||||
func cswap(*[5]uint64, uint64)
|
||||
func ladderstep(*[5][5]uint64)
|
||||
func cswap(inout *[5]uint64, v uint64)
|
||||
func ladderstep(inout *[5][5]uint64)
|
||||
func freeze(inout *[5]uint64)
|
||||
func mul(dest, a, b *[5]uint64)
|
||||
func square(out, in *[5]uint64)
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// func square(dest, src *[5]uint64)
|
||||
TEXT ·square(SB),7,$96-16
|
||||
MOVQ dest+0(FP), DI
|
||||
MOVQ src+8(FP), SI
|
||||
MOVQ out+0(FP), DI
|
||||
MOVQ in+8(FP), SI
|
||||
|
||||
MOVQ SP,R11
|
||||
MOVQ $31,CX
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
TEXT ·salsa2020XORKeyStream(SB),0,$512-40
|
||||
MOVQ out+0(FP),DI
|
||||
MOVQ in+8(FP),SI
|
||||
MOVQ inlen+16(FP),DX
|
||||
MOVQ n+16(FP),DX
|
||||
MOVQ nonce+24(FP),CX
|
||||
MOVQ key+32(FP),R8
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче