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