Lines Matching refs:MODNN
50 #if !defined(MODNN)
90 s[i] = data[j] ^ ALPHA_TO[MODNN(INDEX_OF[s[i]] + (FCR+i)*PRIM)];
114 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))];
116 u = MODNN(PRIM*(NN-1-eras_pos[i]));
120 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)];
133 for (i = 1,k=IPRIM-1; i <= NN; i++,k = MODNN(k+IPRIM)) {
137 reg[j] = MODNN(reg[j] + j);
174 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])];
187 t[i+1] = lambda[i+1] ^ ALPHA_TO[MODNN(discr_r + b[i])];
198 b[i] = (lambda[i] == 0) ? A0 : MODNN(INDEX_OF[lambda[i]] - discr_r + NN);
218 for (i = 1,k=IPRIM-1; i <= NN; i++,k = MODNN(k+IPRIM)) {
222 reg[j] = MODNN(reg[j] + j);
257 tmp ^= ALPHA_TO[MODNN(s[i - j] + lambda[j])];
270 num1 ^= ALPHA_TO[MODNN(omega[i] + i * root[j])];
272 num2 = ALPHA_TO[MODNN(root[j] * (FCR - 1) + NN)];
278 den ^= ALPHA_TO[MODNN(lambda[i+1] + i * root[j])];
289 data[loc[j]-PAD] ^= ALPHA_TO[MODNN(INDEX_OF[num1] + INDEX_OF[num2] + NN - INDEX_OF[den])];