Searched refs:a_log_tab (Results 1 – 2 of 2) sorted by relevance
298 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul()299 bch->a_log_tab[b])] : 0; in gf_mul()304 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr()310 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div()311 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div()316 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv()326 return bch->a_log_tab[x]; in a_log()331 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog()552 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots()553 bch->a_log_tab[poly->c[1]]); in find_poly_deg1_roots()[all …]
57 uint16_t *a_log_tab; member