Beispiel #1
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);
            }
        }
Beispiel #2
0
 public static void Square(uint[] x, uint[] z)
 {
     uint[] tt = Nat224.CreateExt();
     Nat224.Square(x, tt);
     Reduce(tt, z);
 }