Go to the documentation of this file.
7 #define DTYPE unsigned char
24 static inline unsigned int modnn(
struct rs *
rs,
unsigned int x){
27 x = (x >> rs->
mm) + (x & rs->
nn);
31 #define MODNN(x) modnn(rs,x)
35 #define ALPHA_TO (rs->alpha_to)
36 #define INDEX_OF (rs->index_of)
37 #define GENPOLY (rs->genpoly)
38 #define NROOTS (rs->nroots)
40 #define PRIM (rs->prim)
41 #define IPRIM (rs->iprim)
44 #define ENCODE_RS encode_rs_char
45 #define DECODE_RS decode_rs_char
46 #define INIT_RS init_rs_char
47 #define FREE_RS free_rs_char
52 unsigned int prim,
unsigned int nroots);