Ejemplo n.º 1
0
 public static void SquareN(uint[] x, int n, uint[] z)
 {
     uint[] array = Nat128.CreateExt();
     Nat128.Square(x, array);
     Reduce(array, z);
     while (--n > 0)
     {
         Nat128.Square(z, array);
         Reduce(array, z);
     }
 }
Ejemplo n.º 2
0
 public static void SquareN(uint[] x, int n, uint[] z)
 {
     uint[] zz = Nat128.CreateExt();
     Nat128.Square(x, zz);
     Reduce(zz, z);
     while (--n > 0)
     {
         Nat128.Square(z, zz);
         Reduce(zz, z);
     }
 }
Ejemplo n.º 3
0
        public static void SquareN(uint[] x, int n, uint[] z)
        {
            Debug.Assert(n > 0);

            uint[] tt = Nat128.CreateExt();
            Nat128.Square(x, tt);
            Reduce(tt, z);

            while (--n > 0)
            {
                Nat128.Square(z, tt);
                Reduce(tt, z);
            }
        }
Ejemplo n.º 4
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] tt = Nat128.CreateExt();
     Nat128.Square(x, tt);
     Reduce(tt, z);
 }
Ejemplo n.º 5
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] array = Nat128.CreateExt();
     Nat128.Square(x, array);
     Reduce(array, z);
 }
Ejemplo n.º 6
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] zz = Nat128.CreateExt();
     Nat128.Square(x, zz);
     Reduce(zz, z);
 }