Example #1
0
File: rs.c Project: WTHsieh/diag
void
initialize_ecc ()
{  
    init_galois_tables();

    compute_genpoly(npar, genPoly);
}
Example #2
0
/* Initialize lookup tables, polynomials, etc. */
void
initialize_ecc ()
{
	/* Initialize the galois field arithmetic tables */
	init_galois_tables();

	/* Compute the encoder generator polynomial */
	compute_genpoly(NPAR, genPoly);
}