Exemplo 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);
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
            }
        }
Exemplo n.º 4
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] tt = Nat128.CreateExt();
     Nat128.Square(x, tt);
     Reduce(tt, z);
 }
Exemplo n.º 5
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] array = Nat128.CreateExt();
     Nat128.Square(x, array);
     Reduce(array, z);
 }
Exemplo n.º 6
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] zz = Nat128.CreateExt();
     Nat128.Square(x, zz);
     Reduce(zz, z);
 }