[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080518110306.GD9845@merlin.emma.line.org>
Date: Sun, 18 May 2008 13:03:06 +0200
From: Matthias Andree <matthias.andree@....de>
To: linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists