Lines Matching refs:lfsrsum
187 lfsrsumtmp = key->lfsrsum;
193 key->lfsrsum = 0xff & ~(key->lfsr17 >> 9);
194 key->lfsrsum += key->lfsr25 >> 17;
197 key->lfsrsum = key->lfsr17 >> 9;
198 key->lfsrsum += key->lfsr25 >> 17;
201 key->lfsrsum = key->lfsr17 >> 9;
202 key->lfsrsum += 0xff & ~(key->lfsr25 >> 17);
207 key->lfsrsum += (lfsrsumtmp >> 8);
210 out[i] = sboxenc[(in[i] ^ key->lfsrsum) & 0xff];
212 out[i] = (sboxdec[in[i]] ^ key->lfsrsum) & 0xff;
243 key->lfsrsum = 0;