lkml.org 
[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 18 May 2008 13:03:06 +0200
FromMatthias Andree <>
SubjectRe: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
On Sat, 17 May 2008, Matt Mackall wrote:

> It certainly makes sense to sample network timing noise. It often does
> not make sense to assume that there's any entropy in those timing
> samples. For instance:
> 
> - our clock resolution may be low enough that an attacker can guess our
> samples (ie it's simply HZ, very common in embedded land)
> - the bus involved (ISA, peripheral bus, even slow PCI) may have the
> same issue
> - it may be heavily correlated with some other measurement (ie network
> vs disk samples on file servers)
> 
> We currently assume that IRQF_SAMPLE_RANDOM means 'this is a completely
> trusted unobservable entropy source' which is obviously wrong for
> network devices but is right for some other classes of device.

Without looking at code, should your summary should include
"independent of (as in non-correlated with) other sources" according to
your argument?

-- 
Matthias Andree


\
 
 \ /
  Last update: 2008-05-18 13:05    [from the cache]
©2003-2008