[prev in list] [next in list] [prev in thread] [next in thread]
List: etux
Subject: Re: Initializing /dev/random for sshd
From: Wolfgang Denk <wd () denx ! de>
Date: 2005-04-04 18:59:06
Message-ID: 20050404185911.3AAA7C108D () atlas ! denx ! de
[Download RAW message or body]
In message <42517050.7000600@symboticware.com> you wrote:
>
> I'm attempting to configure OpenSSH on an embedded Linux system and I'm
> wondering if there are standard approaches to initialize /dev/random for
> embedded systems.
There are: in simple cases use /dev/urandom instead ("rm -f random ;
ln -s urandom random"). Or add code to your drivers to feed the
entropy; for example, this simple change (in the cs89xx network
driver) uses the network inter-interrupt times to feed the entropy
for /dev/random - this should be easy to adapt to other suitable
drivers in your system:
- if (request_irq(dev->irq, net_interrupt, SA_SHIRQ, "cs8900a", dev)) {
+ if (request_irq(dev->irq, net_interrupt, SA_SHIRQ | SA_SAMPLE_RANDOM, "cs8900a", dev)) {
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Computers are not intelligent. They only think they are.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic