Searched refs:a_log_tab (Results 1 – 2 of 2) sorted by relevance
337 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul()338 bch->a_log_tab[b])] : 0; in gf_mul()343 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr()349 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div()350 GF_N(bch)-bch->a_log_tab[b])] : 0; in gf_div()355 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv()365 return bch->a_log_tab[x]; in a_log()370 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog()591 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots()592 bch->a_log_tab[poly->c[1]]); in find_poly_deg1_roots()[all …]
45 uint16_t *a_log_tab; member