Searched refs:lfsr1 (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dlfsr_test.c32 isc_lfsr_t lfsr1, lfsr2; local
42 isc_lfsr_init(&lfsr1, 0, 32, 0x80000057U, 0, NULL, NULL);
44 isc_lfsr_generate(&lfsr1, &state[i], 4);
45 printf("lfsr1: state[%2d] = %08x\n", i, state[i]);
47 isc_lfsr_init(&lfsr1, 0, 32, 0x80000057U, 0, NULL, NULL);
49 isc_lfsr_generate(&lfsr1, &temp, 4);
51 printf("lfsr1: state[%2d] = %08x, "
59 isc_lfsr_init(&lfsr1, 0, 32, 0x80000057U, 0, NULL, NULL);
61 isc_lfsr_generate(&lfsr1, &state[i], 4);
62 isc_lfsr_skip(&lfsr1, 3
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dlfsr.h103 isc_lfsr_generate32(isc_lfsr_t *lfsr1, isc_lfsr_t *lfsr2);
123 *\li lfsr1 and lfsr2 be valid.
/bind-9.6-ESV-R11/lib/isc/
H A Dlfsr.c141 * Skip states in lfsr1 and lfsr2 using the other's current state.
142 * Return the final state of lfsr1 ^ lfsr2.
145 isc_lfsr_generate32(isc_lfsr_t *lfsr1, isc_lfsr_t *lfsr2) argument
150 REQUIRE(VALID_LFSR(lfsr1));
153 skip1 = lfsr1->state & 0x01;
157 state1 = lfsr_skipgenerate(lfsr1, skip2);

Completed in 1972 milliseconds