Searched refs:modnn (Results 1 – 1 of 1) sorted by relevance
75 modnn(int x) in modnn() function224 s[i] ^= Alpha_to[modnn(tmp + (B0+i-1)*PRIM*j)]; in eras_dec_rs()233 tmp = modnn(tmp + 2 * KK * (B0+i-1)*PRIM); in eras_dec_rs()242 lambda[1] = Alpha_to[modnn(PRIM * eras_pos[0])]; in eras_dec_rs()244 u = modnn(PRIM*eras_pos[i]); in eras_dec_rs()248 lambda[j] ^= Alpha_to[modnn(u + tmp)]; in eras_dec_rs()259 for (i = 1,k=NN-Ldec; i <= NN; i++,k = modnn(NN+k-Ldec)) { in eras_dec_rs()263 reg[j] = modnn(reg[j] + j); in eras_dec_rs()300 discr_r ^= Alpha_to[modnn(Index_of[lambda[i]] + s[r - i])]; in eras_dec_rs()313 t[i+1] = lambda[i+1] ^ Alpha_to[modnn(discr_r + b[i])]; in eras_dec_rs()[all …]