[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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    [W:0.165 / U:2.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site