Searched refs:lfsr2 (Results 1 - 3 of 3) sorted by relevance
/bind-9.6-ESV-R11/bin/tests/ |
H A D | lfsr_test.c | 32 isc_lfsr_t lfsr1, lfsr2; local 80 isc_lfsr_init(&lfsr2, 0, 16, 0x00008016U, 0, NULL, NULL); 82 isc_lfsr_generate(&lfsr2, &state[i], 4); 83 printf("lfsr2: state[%2d] = %08x\n", i, state[i]); 85 isc_lfsr_init(&lfsr2, 0, 16, 0x00008016U, 0, NULL, NULL); 87 isc_lfsr_generate(&lfsr2, &temp, 4); 89 printf("lfsr2: state[%2d] = %08x, "
|
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | lfsr.h | 103 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 D | lfsr.c | 141 * 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 151 REQUIRE(VALID_LFSR(lfsr2)); 154 skip2 = lfsr2->state & 0x01; 158 state2 = lfsr_skipgenerate(lfsr2, skip1);
|
Completed in 2380 milliseconds