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 reflects the interrupts, then controllers do
not generate interrupts every frame.
I can see (using watch 'cat /proc/interrupts') that interrupts only occur when
something is happening (such as mouse movement).
The uhci controllers used to generate interrupts per frame (which is possibly
why using it for the entropy pool wasn't originally considered), but that was
changed some time ago (perhaps in 2.3 timeframe).

Or have I missed something?

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.

Brad

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to