Ejemplo n.º 1
0
 public static void SquareN(uint[] x, int n, uint[] z)
 {
     uint[] array = Nat224.CreateExt();
     Nat224.Square(x, array);
     SecP224R1Field.Reduce(array, z);
     while (--n > 0)
     {
         Nat224.Square(z, array);
         SecP224R1Field.Reduce(array, z);
     }
 }
Ejemplo n.º 2
0
 public static void SquareN(uint[] x, int n, uint[] z)
 {
     uint[] zz = Nat224.CreateExt();
     Nat224.Square(x, zz);
     Reduce(zz, z);
     while (--n > 0)
     {
         Nat224.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 = Nat224.CreateExt();
            Nat224.Square(x, tt);
            Reduce(tt, z);

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