protected static void ImplSquare(uint[] x, uint[] zz)
    {
        Nat512.Square(x, zz);
        uint num = x[16];

        zz[32] = Nat.MulWordAddTo(16, num << 1, x, 0, zz, 16) + num * num;
    }
Example #2
0
        protected static void ImplSquare(uint[] x, uint[] zz)
        {
            Nat512.Square(x, zz);

            uint x16 = x[16];

            zz[32] = Nat.MulWordAddTo(16, x16 << 1, x, 0, zz, 16) + (x16 * x16);
        }