Example #1
0
    /* z=x^2 */
    public static FF sqr(FF x)
    {
        int n = x.length;
        FF  z = new FF(2 * n);
        FF  t = new FF(2 * n);

        z.karsqr(0, x, 0, t, 0, n);
        return(z);
    }