mirror of
https://github.com/emmansun/gmsm.git
synced 2025-10-16 00:00:53 +08:00
internal/sm2ec: loong64 v7
This commit is contained in:
parent
5b99eb20b8
commit
df5788bbdd
@ -185,7 +185,7 @@ func TestEquivalents(t *testing.T) {
|
|||||||
fatalIfErr(t, err)
|
fatalIfErr(t, err)
|
||||||
|
|
||||||
if !bytes.Equal(p1.Bytes(), p2.Bytes()) {
|
if !bytes.Equal(p1.Bytes(), p2.Bytes()) {
|
||||||
t.Error("P+P != 2*P")
|
t.Errorf("P+P %x != 2*P %x", p1.Bytes(), p2.Bytes())
|
||||||
}
|
}
|
||||||
if !bytes.Equal(p1.Bytes(), p3.Bytes()) {
|
if !bytes.Equal(p1.Bytes(), p3.Bytes()) {
|
||||||
t.Error("P+P != [2]P")
|
t.Error("P+P != [2]P")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user