Skip to content

Commit

Permalink
Merge pull request #17 from insolar/add-p256BigToLittleX
Browse files Browse the repository at this point in the history
add asm extended p256BigToLittle
  • Loading branch information
pavlushev authored Apr 22, 2019
2 parents 9c4f16d + 4a1d14a commit bca1b23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions elliptic/p256_asm_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ GLOBL p256one<>(SB), 8, $32
/* ---------------------------------------*/
// func p256LittleToBig(res []byte, in []uint64)
TEXT ·p256LittleToBigX(SB),NOSPLIT,$0
JMP ·p256BigToLittle(SB)
JMP ·p256BigToLittleX(SB)
/* ---------------------------------------*/
// func p256BigToLittle(res []uint64, in []byte)
// func p256BigToLittleX(res []uint64, in []byte)
TEXT ·p256BigToLittleX(SB),NOSPLIT,$0
MOVQ res+0(FP), res_ptr
MOVQ in+24(FP), x_ptr
Expand Down
4 changes: 2 additions & 2 deletions elliptic/p256_asm_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ GLOBL p256one<>(SB), 8, $32
/* ---------------------------------------*/
// func p256LittleToBigX(res []byte, in []uint64)
TEXT ·p256LittleToBigX(SB),NOSPLIT,$0
JMP ·p256BigToLittle(SB)
JMP ·p256BigToLittleX(SB)
/* ---------------------------------------*/
// func p256BigToLittle(res []uint64, in []byte)
// func p256BigToLittleX(res []uint64, in []byte)
TEXT ·p256BigToLittleX(SB),NOSPLIT,$0
MOVD res+0(FP), res_ptr
MOVD in+24(FP), a_ptr
Expand Down

0 comments on commit bca1b23

Please sign in to comment.