Re: [linux-usb-devel] USB contribute to entropy pool

2001-10-06 Thread Johannes Erdfelt
On Sat, Oct 06, 2001, David Brownell <[EMAIL PROTECTED]> wrote: > > > AFAICT, all we need to do is add SA_SAMPLE_RANDOM to the request_irq call > > > flags in the host controllers. > > > > I think most controllers interrupt every frame. > > UHCI sends a more regular stream of interrupts, since i

Re: [linux-usb-devel] USB contribute to entropy pool

2001-10-06 Thread David Brownell
> > AFAICT, all we need to do is add SA_SAMPLE_RANDOM to the request_irq call > > flags in the host controllers. > > I think most controllers interrupt every frame. UHCI sends a more regular stream of interrupts, since it needs the software to tend things rather often. OHCI and EHCI tend to use

Re: [linux-usb-devel] USB contribute to entropy pool

2001-10-06 Thread Oliver Neukum
> I am not saying that USB interrupts are necessarily a good source of > entropy. But if you are using purely USB keyboard and mouse, then it might > be the best source of entropy available. No. Keyboard and mouse already add entropy. If you take anything else there's a theoretical risk of someo

Re: [linux-usb-devel] USB contribute to entropy pool

2001-10-06 Thread Brad Hards
Pete Zaitcev wrote: > > > AFAICT, all we need to do is add SA_SAMPLE_RANDOM to the request_irq call > > flags in the host controllers. > > > > Thoughts? > > > > Brad > > I think most controllers interrupt every frame. > That would be a very poor source of entropy. Assuming that /proc/interrupts

Re: [linux-usb-devel] USB contribute to entropy pool

2001-10-05 Thread Pete Zaitcev
> AFAICT, all we need to do is add SA_SAMPLE_RANDOM to the request_irq call > flags in the host controllers. > > Thoughts? > > Brad I think most controllers interrupt every frame. That would be a very poor source of entropy. -- Pete ___ [EMAIL PROTE

[linux-usb-devel] USB contribute to entropy pool

2001-10-05 Thread Brad Hards
After looking at Robert Love's patches for net devices contributing to the entropy pool, it occurred to me that perhaps USB controllers should also contribute (possibly on a config variable). AFAICT, all we need to do is add SA_SAMPLE_RANDOM to the request_irq call flags in the host controllers.