mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
fix assembly that clobbers BP
This commit is contained in:
parent
8fda97f991
commit
fc1411a702
@ -1368,7 +1368,7 @@ TEXT sm2P256SubInternal(SB),NOSPLIT,$0
|
||||
|
||||
RET
|
||||
/* ---------------------------------------*/
|
||||
TEXT sm2P256MulInternal(SB),NOSPLIT,$0
|
||||
TEXT sm2P256MulInternal(SB),NOSPLIT,$8
|
||||
MOVQ acc4, mul0
|
||||
MULQ t0
|
||||
MOVQ mul0, acc0
|
||||
@ -1567,7 +1567,7 @@ TEXT sm2P256MulInternal(SB),NOSPLIT,$0
|
||||
|
||||
RET
|
||||
/* ---------------------------------------*/
|
||||
TEXT sm2P256SqrInternal(SB),NOSPLIT,$0
|
||||
TEXT sm2P256SqrInternal(SB),NOSPLIT,$8
|
||||
|
||||
MOVQ acc4, mul0
|
||||
MULQ acc5
|
||||
|
Loading…
x
Reference in New Issue
Block a user