aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-05 20:19:17 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-15 12:04:28 -0700
commit2fcadd93622a8e130d98dd214aa75a17fc9b0ffc (patch)
treeadc1a2b3f57bcd6e9f24723dcf97d2cbd4795dca /include/linux
parent0789520922496716eff4381e0ef724e66ead63e5 (diff)
downloadkernel_samsung_smdk4412-2fcadd93622a8e130d98dd214aa75a17fc9b0ffc.zip
kernel_samsung_smdk4412-2fcadd93622a8e130d98dd214aa75a17fc9b0ffc.tar.gz
kernel_samsung_smdk4412-2fcadd93622a8e130d98dd214aa75a17fc9b0ffc.tar.bz2
rtc: wm831x: Feed the write counter into device_add_randomness()
commit 9dccf55f4cb011a7552a8a2749a580662f5ed8ed upstream. 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@opensource.wolfsonmicro.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions