Home
last modified time | relevance | path

Searched refs:a_pow_tab (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/
H A Dbch.c331 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul()
337 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr()
343 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div()
349 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv()
354 return bch->a_pow_tab[modulo(bch, i)]; in a_pow()
555 rows[i+1] = bch->a_pow_tab[4*i]^ in find_affine4_roots()
556 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ in find_affine4_roots()
557 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0); in find_affine4_roots()
768 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod()
838 z->c[1] = bch->a_pow_tab[k]; in compute_trace_bk_mod()
[all …]
/openbmc/u-boot/lib/
H A Dbch.c344 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul()
350 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr()
356 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div()
362 return bch->a_pow_tab[GF_N(bch)-bch->a_log_tab[a]]; in gf_inv()
367 return bch->a_pow_tab[modulo(bch, i)]; in a_pow()
568 rows[i+1] = bch->a_pow_tab[4*i]^ in find_affine4_roots()
569 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ in find_affine4_roots()
570 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0); in find_affine4_roots()
781 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod()
851 z->c[1] = bch->a_pow_tab[k]; in compute_trace_bk_mod()
[all …]
/openbmc/u-boot/include/linux/
H A Dbch.h44 uint16_t *a_pow_tab; member
/openbmc/linux/include/linux/
H A Dbch.h45 uint16_t *a_pow_tab; member