Le Tue, 02 Sep 2008 18:15:00 -0500, "James R. Van Artsdalen" <[EMAIL PROTECTED]> a écrit :
> Has Hi/fn stated what kind of random number generator the 7955 has? > > How is this enabled in FreeBSD 7? I've added these lines to the > kernel config file: > > device crypto # core crypto support > device cryptodev # /dev/crypto for access to h/w > device hifn # Hifn 7951, 7781, etc. > options HIFN_DEBUG # enable debugging support: hw.hifn.debug > options HIFN_RNDTEST # enable rndtest support > device rndtest # FIPS 140-2 entropy tester > > resulting in this boot-time output: > > hifn0 mem > 0xa0005000-0xa0005fff,0xa0006000-0xa0007fff,0xa0008000-0xa000ffff irq > 15 at device 17.0 on pci0 > hifn0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xa0005000 > hifn0: Reserved 0x2000 bytes for rid 0x14 type 3 at 0xa0006000 > hifn0: [MPSAFE] > hifn0: [ITHREAD] > hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801<ext clk, 4x mult> > crypto: assign hifn0 driver id 1, flags 16777216 > crypto: hifn0 registers alg 2 flags 0 maxoplen 0 > crypto: hifn0 registers alg 12 flags 0 maxoplen 0 > crypto: hifn0 registers alg 11 flags 0 maxoplen 0 > crypto: hifn0 registers alg 13 flags 0 maxoplen 0 > crypto: hifn0 registers alg 14 flags 0 maxoplen 0 > crypto: hifn0 registers alg 6 flags 0 maxoplen 0 > crypto: hifn0 registers alg 7 flags 0 maxoplen 0 > crypto: hifn0 registers alg 1 flags 0 maxoplen 0 > > but I'm not convinced it's being used instead of the kernal's Yarrow > code. It should work. By default rndtest only reports failure, use the sysctl kern.rndtest.verbose=2 (not sure for the sysctl, something like that) to reports success. _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
