Lines Matching refs:MODNN
54 s[i] = data[j] ^ ALPHA_TO[MODNN(INDEX_OF[s[i]] + (FCR+i)*PRIM)];
78 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))];
80 u = MODNN(PRIM*(NN-1-eras_pos[i]));
84 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)];
97 for (i = 1,k=IPRIM-1; i <= NN; i++,k = MODNN(k+IPRIM)) {
101 reg[j] = MODNN(reg[j] + j);
138 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])];
151 t[i+1] = lambda[i+1] ^ ALPHA_TO[MODNN(discr_r + b[i])];
162 b[i] = (lambda[i] == 0) ? A0 : MODNN(INDEX_OF[lambda[i]] - discr_r + NN);
182 for (i = 1,k=IPRIM-1; i <= NN; i++,k = MODNN(k+IPRIM)) {
186 reg[j] = MODNN(reg[j] + j);
221 tmp ^= ALPHA_TO[MODNN(s[i - j] + lambda[j])];
234 num1 ^= ALPHA_TO[MODNN(omega[i] + i * root[j])];
236 num2 = ALPHA_TO[MODNN(root[j] * (FCR - 1) + NN)];
242 den ^= ALPHA_TO[MODNN(lambda[i+1] + i * root[j])];
253 data[loc[j]-PAD] ^= ALPHA_TO[MODNN(INDEX_OF[num1] + INDEX_OF[num2] + NN - INDEX_OF[den])];