[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120706212304.GA4841@thunk.org>
Date: Fri, 6 Jul 2012 17:23:04 -0400
From: Theodore Ts'o <tytso@....edu>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com,
rtc-linux@...glegroups.com
Subject: Re: rtc: wm831x: Feed the write counter into device_add_randomness()
On Thu, Jul 05, 2012 at 08:19:17PM -0000, Mark Brown wrote:
> The tamper evident features of the RTC include the "write counter" which
> is a pseudo-random number regenerated whenever we set the RTC. Since this
> value is unpredictable it should provide some useful seeding to the random
> number generator.
>
> Only do this on boot since the goal is to seed the pool rather than add
> useful entropy.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> add_device_randomness() has only just been added in -next, this will
> need to either wait until after the merge window or be merged along with
> the patch adding it.
Thanks, I've added this to the /dev/random git tree.
- Ted
--
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