Home
last modified time | relevance | path

Searched refs:syn (Results 1 – 2 of 2) sorted by relevance

/lib/reed_solomon/
Ddecode_rs.c34 uint16_t lambda[nroots + 1], syn[nroots]; variable
61 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk;
65 if (syn[i] == 0) {
66 syn[i] = (((uint16_t) data[j]) ^
69 syn[i] = ((((uint16_t) data[j]) ^
71 alpha_to[rs_modnn(rs, index_of[syn[i]] +
79 if (syn[i] == 0) {
80 syn[i] = ((uint16_t) par[j]) & msk;
82 syn[i] = (((uint16_t) par[j]) & msk) ^
83 alpha_to[rs_modnn(rs, index_of[syn[i]] +
[all …]
/lib/
Dbch.c338 unsigned int *syn) in compute_syndromes() argument
351 memset(syn, 0, 2*t*sizeof(*syn)); in compute_syndromes()
360 syn[j] ^= a_pow(bch, (j+1)*(i+s)); in compute_syndromes()
368 syn[2*j+1] = gf_sqr(bch, syn[j]); in compute_syndromes()
377 const unsigned int *syn) in compute_error_locator_polynomial() argument
381 unsigned int i, j, tmp, l, pd = 1, d = syn[0]; in compute_error_locator_polynomial()
419 d = syn[2*i+2]; in compute_error_locator_polynomial()
421 d ^= gf_mul(bch, elp->c[j], syn[2*i+2-j]); in compute_error_locator_polynomial()
918 unsigned int i, j, syn, syn0, count = 0; in chien_search() local
928 for (j = 1, syn = syn0; j <= p->deg; j++) { in chien_search()
[all …]