示例#1
0
 static void ge_cached_cmov(ref GroupElementCached t, ref GroupElementCached u, byte b)
 {
     FieldOperations.fe_cmov(ref t.YplusX, ref u.YplusX, b);
     FieldOperations.fe_cmov(ref t.YminusX, ref u.YminusX, b);
     FieldOperations.fe_cmov(ref t.Z, ref u.Z, b);
     FieldOperations.fe_cmov(ref t.T2d, ref u.T2d, b);
 }
示例#2
0
 static void cmov(ref GroupElementPreComp t, ref GroupElementPreComp u, byte b)
 {
     FieldOperations.fe_cmov(ref t.yplusx, ref u.yplusx, b);
     FieldOperations.fe_cmov(ref t.yminusx, ref u.yminusx, b);
     FieldOperations.fe_cmov(ref t.xy2d, ref u.xy2d, b);
 }