sm9/bn256: ppc64x test move #256

This commit is contained in:
Sun Yimin 2024-10-06 11:29:58 +08:00 committed by GitHub
parent 42e1018e36
commit 9740519bb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ func BenchmarkGfP12Set(b *testing.B) {
func TestCurvePointMovCond(t *testing.T) {
curve1 := &curvePoint{}
res := &curvePoint{}
curvePointMovCond(res, curve1, curveGen, 1)
curvePointMovCond(res, curve1, curveGen, 0)
if !res.Equal(curveGen) {
t.Errorf("not expected")
}