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. [EMAIL PROTECTED] ~]# sysctl kern.random kern.random.yarrow.gengateinterval: 10 kern.random.yarrow.bins: 10 kern.random.yarrow.fastthresh: 192 kern.random.yarrow.slowthresh: 256 kern.random.yarrow.slowoverthresh: 2 kern.random.sys.seeded: 1 kern.random.sys.harvest.ethernet: 1 kern.random.sys.harvest.point_to_point: 1 kern.random.sys.harvest.interrupt: 1 kern.random.sys.harvest.swi: 0 _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
