t.Fatalf("ScalarBaseMult does not match reference result with scalar: %x, please report this error to https://github.com/emmansun/gmsm/issues",scalar1)
}
ifxx.Cmp(xx2)!=0||yy.Cmp(yy2)!=0{
t.Fatalf("ScalarMult does not match reference result with scalars: %x and %x, please report this error to https://github.com/emmansun/gmsm/issues",scalar1,scalar2)