From 696e95adba67696c0449c713bd8e1b603eea58c5 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Wed, 15 Dec 1999 02:26:04 +0000 Subject: [PATCH] print out table of known lfsrs --- bin/tests/lfsr_test.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/tests/lfsr_test.c b/bin/tests/lfsr_test.c index 5b2d18ce97..c1b8342e11 100644 --- a/bin/tests/lfsr_test.c +++ b/bin/tests/lfsr_test.c @@ -33,6 +33,15 @@ main(int argc, char **argv) UNUSED(argc); UNUSED(argv); + printf("Known LFSRs:\n"); + i = 0; + while (isc_lfsr_standard[i].bits != 0) { + printf("%2d: %2d bits, %08x initial state, %08x tap\n", + i, isc_lfsr_standard[i].bits, + isc_lfsr_standard[i].state, isc_lfsr_standard[i].tap); + i++; + } + /* * Verify that returned values are reproducable. */