public static void SquareN(uint[] x, int n, uint[] z) { Debug.Assert(n > 0); uint[] tt = Nat.Create(24); Nat384.Square(x, tt); Reduce(tt, z); while (--n > 0) { Nat384.Square(z, tt); Reduce(tt, z); } }
public static void Square(uint[] x, uint[] z) { uint[] tt = Nat.Create(24); Nat384.Square(x, tt); Reduce(tt, z); }