Searched refs:par (Results 1 – 3 of 3) sorted by relevance
/lib/reed_solomon/ |
D | encode_rs.c | 29 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;
|
D | reed_solomon.c | 328 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
|
D | decode_rs.c | 81 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];
|