mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
internal/subtle: fix riscv64
This commit is contained in:
parent
3ede9024a5
commit
235382a457
@ -2,9 +2,7 @@ package fiat_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/rand"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"math/big"
|
||||
"testing"
|
||||
|
||||
|
@ -46,7 +46,7 @@ less_than4:
|
||||
MOVHU (X6), X10
|
||||
MOVHU (X7), X11
|
||||
XOR X10, X11, X10
|
||||
MOVHU X10, (X5)
|
||||
MOVH X10, (X5)
|
||||
ADD $2, X5
|
||||
ADD $2, X6
|
||||
ADD $2, X7
|
||||
@ -57,7 +57,7 @@ less_than2:
|
||||
MOVBU (X6), X10
|
||||
MOVBU (X7), X11
|
||||
XOR X10, X11, X10
|
||||
MOVBU X10, (X5)
|
||||
MOVB X10, (X5)
|
||||
|
||||
done:
|
||||
RET
|
||||
|
Loading…
x
Reference in New Issue
Block a user