mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
sm9/bn256: ppc64x test move #256
This commit is contained in:
parent
42e1018e36
commit
9740519bb3
@ -56,7 +56,7 @@ func BenchmarkGfP12Set(b *testing.B) {
|
|||||||
func TestCurvePointMovCond(t *testing.T) {
|
func TestCurvePointMovCond(t *testing.T) {
|
||||||
curve1 := &curvePoint{}
|
curve1 := &curvePoint{}
|
||||||
res := &curvePoint{}
|
res := &curvePoint{}
|
||||||
curvePointMovCond(res, curve1, curveGen, 1)
|
curvePointMovCond(res, curve1, curveGen, 0)
|
||||||
if !res.Equal(curveGen) {
|
if !res.Equal(curveGen) {
|
||||||
t.Errorf("not expected")
|
t.Errorf("not expected")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user