bridge/class-master/depend/pari/src/basemath/ecpp.c
/* g is a quadratic and cubic non-residue modulo N */
g is a quadratic and cubic non-residue modulo N
g is a quadratic and cubic non - residue modulo N
static GEN
j0_find_g(GEN N)
{
  GEN n = diviuexact(subiu(N, 1), 3);
  for(;;)
  {
    GEN g = randomi(N);
    if (kronecker(g, N) == -1 && !equali1(Fp_pow(g, n, N))) return g;
  }
}
static GEN j0_find_g ( GEN N ) { GEN n = diviuexact ( subiu ( N , 1 ) , 3 ) ; for ( ; ; ) { GEN g = randomi ( N ) ; if ( kronecker ( g , N ) == -1 && ! equali1 ( Fp_pow ( g , n , N ) ) ) return g ; } }
g is a quadratic and cubic non-residue modulo N
g is a quadratic and cubic non - residue modulo N