Home
last modified time | relevance | path

Searched refs:par (Results 1 – 3 of 3) sorted by relevance

/lib/reed_solomon/
Dencode_rs.c29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
33 par[j] ^= alpha_to[rs_modnn(rs, fb +
38 memmove(&par[0], &par[1], sizeof(uint16_t) * (nroots - 1));
40 par[nroots - 1] = alpha_to[rs_modnn(rs,
43 par[nroots - 1] = 0;
Dreed_solomon.c328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8() argument
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8() argument
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16() argument
412 int decode_rs16(struct rs_control *rsc, uint16_t *data, uint16_t *par, int len, in decode_rs16() argument
Ddecode_rs.c81 syn[i] = ((uint16_t) par[j]) & msk;
83 syn[i] = (((uint16_t) par[j]) & msk) ^
315 } else if (data && par) {
321 par[loc[i] - pad - len] ^= b[i];