1 /* Stuff specific to the 8-bit symbol version of the general purpose RS codecs 2 * 3 * Copyright 2003, Phil Karn, KA9Q 4 * May be used under the terms of the GNU Lesser General Public License (LGPL) 5 */ 6 typedef unsigned char data_t; 7 8 #define MODNN(x) modnn(rs,x) 9 10 #define MM (rs->mm) 11 #define NN (rs->nn) 12 #define ALPHA_TO (rs->alpha_to) 13 #define INDEX_OF (rs->index_of) 14 #define GENPOLY (rs->genpoly) 15 #define NROOTS (rs->nroots) 16 #define FCR (rs->fcr) 17 #define PRIM (rs->prim) 18 #define IPRIM (rs->iprim) 19 #define PAD (rs->pad) 20 #define A0 (NN) 21 22 23 24 25