Searched refs:lfsr (Results 1 – 2 of 2) sorted by relevance
260 static uint16_t lfsr = 0x1337; in getNextLfsrState() local261 uint16_t nextBit = ((lfsr << 14) ^ (lfsr << 13)) & 0x4000; in getNextLfsrState()262 lfsr = nextBit | (lfsr >> 1); in getNextLfsrState()264 return lfsr; in getNextLfsrState()
821 static uint8_t lfsr = 1; in TEST_F() local823 test[i] = lfsr; in TEST_F()824 lfsr = (lfsr >> 1) | in TEST_F()825 (((lfsr << 7) ^ (lfsr << 5) ^ (lfsr << 4) ^ (lfsr << 3)) & 0x80); in TEST_F()