Re: USB HID devices not linked to RNG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 7, 2015 at 2:09 PM, Stephan Mueller <smueller@xxxxxxxxxx> wrote:
> Am Montag, 7. September 2015, 15:07:47 schrieb Mike Mestnik:
>
> Hi Mike,
>
>>This is just an off the wall guess.  Wouldn't such entropy already be
>>collected at a lower level, like raw usb traffic?
>
> The RNG collects data from interrupts (that also covers normal PS/2 mice and
> keyboards), block devices and HID (it hooks itself into the input layer).
>
> So, raw USB traffic is not a source of entropy other than for the interrupts
> the base PCI traffic would generate.
>
> What I am wondering: isn't the USB mouse/keyboard support hooking into the
> kernel's input layer?

All input devices add randomness, however I think for mouse
add_input_randomness() will drop majority of events since they are
likely have the same value (well, depends on which direction you are
moving the mouse)...

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux