fw: add working reed-solomon encoder/decoder

This commit is contained in:
jaseg 2020-05-04 21:31:31 +02:00
parent 82c1302756
commit 9918eb5053
15 changed files with 253 additions and 462 deletions

View file

@ -0,0 +1,9 @@
#ifndef __RSLIB_H__
#define __RSLIB_H__
void rslib_encode(int nbits, size_t msglen, char msg[static msglen], char out[msglen + NPAR]);
int rslib_decode(int nbits, size_t msglen, char msg_inout[static msglen]);
int rslib_gexp(int z, int nbits);
size_t rslib_npar();
#endif /* __RSLIB_H__ */