Beispiel #1
0
 public static void SquareAddToExt(ulong[] x, ulong[] zz)
 {
     ulong[] tt = Nat128.CreateExt64();
     ImplSquare(x, tt);
     AddExt(zz, tt, zz);
 }
 public static void SquareAddToExt(ulong[] x, ulong[] zz)
 {
     ulong[] numArray = Nat128.CreateExt64();
     ImplSquare(x, numArray);
     AddExt(zz, numArray, zz);
 }
Beispiel #3
0
 public static void Square(ulong[] x, ulong[] z)
 {
     ulong[] tt = Nat128.CreateExt64();
     ImplSquare(x, tt);
     Reduce(tt, z);
 }
 public static void Square(ulong[] x, ulong[] z)
 {
     ulong[] zz = Nat128.CreateExt64();
     ImplSquare(x, zz);
     Reduce(zz, z);
 }
 public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz)
 {
     ulong[] numArray = Nat128.CreateExt64();
     ImplMultiply(x, y, numArray);
     AddExt(zz, numArray, zz);
 }
 public static void Multiply(ulong[] x, ulong[] y, ulong[] z)
 {
     ulong[] zz = Nat128.CreateExt64();
     ImplMultiply(x, y, zz);
     Reduce(zz, z);
 }
Beispiel #7
0
 public static void MultiplyAddToExt(ulong[] x, ulong[] y, ulong[] zz)
 {
     ulong[] tt = Nat128.CreateExt64();
     ImplMultiply(x, y, tt);
     AddExt(zz, tt, zz);
 }
Beispiel #8
0
 public static void Multiply(ulong[] x, ulong[] y, ulong[] z)
 {
     ulong[] tt = Nat128.CreateExt64();
     ImplMultiply(x, y, tt);
     Reduce(tt, z);
 }