bridge/class-master/depend/pari/src/basemath/ecpp.c
/* Call the first downrun then unravel the skeleton of the certificate.
 * Assume expi(N) < 64. This returns one of the following:
 * - a vector of the form [N, D, m, q, y]
 * - gen_0 (if N is composite)
 * - NULL (if FAIL) */
Call the first downrun then unravel the skeleton of the certificate.
Call the first downrun then unravel the skeleton of the certificate .
static GEN
ecpp_step1(GEN N, GEN param, GEN* X0)
{
  pari_sp av = avma;
  long depth = 0;
  GEN downrun = N_downrun(N, param, X0, &depth, 1);
  if (downrun == NULL) { avma = av; return NULL; }
  return gerepilecopy(av, ecpp_flattencert(downrun, depth));
}
static GEN ecpp_step1 ( GEN N , GEN param , GEN * X0 ) { pari_sp av = avma ; long depth = 0 ; GEN downrun = N_downrun ( N , param , X0 , & depth , 1 ) ; if ( downrun == NULL ) { avma = av ; return NULL ; } return gerepilecopy ( av , ecpp_flattencert ( downrun , depth ) ) ; }
Call the first downrun then unravel the skeleton of the certificate.
Call the first downrun then unravel the skeleton of the certificate .