linux_old1/drivers/char/hw_random
Ralph Wuerthner 893f112866 [S390] hw_random: allow rng_dev_read() to return hardware errors.
The api for hardware random number generators is currently limited to
devices that never fail. If the hardware is registered as a source for
random numbers it has to work. This prevents the use of i/o based
random number devices where the i/o might fail.

Add a check for errors after the read from a hardware random number device.

This patch is required to support large random numbers retrieved
from the CEX2C cards on System z.

Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2008-04-17 07:47:02 +02:00
..
Kconfig hw_random doc updates 2008-03-24 19:22:19 -07:00
Makefile pasemi: hardware rng driver 2007-05-09 12:30:49 -07:00
amd-rng.c [HWRNG]: move status polling loop to data_present callbacks 2008-01-11 08:16:16 +11:00
core.c [S390] hw_random: allow rng_dev_read() to return hardware errors. 2008-04-17 07:47:02 +02:00
geode-rng.c [HWRNG]: move status polling loop to data_present callbacks 2008-01-11 08:16:16 +11:00
intel-rng.c [HWRNG]: move status polling loop to data_present callbacks 2008-01-11 08:16:16 +11:00
ixp4xx-rng.c [PATCH] Fix HWRNG built-in initcalls priority 2007-01-11 18:18:21 -08:00
omap-rng.c [HWRNG]: move status polling loop to data_present callbacks 2008-01-11 08:16:16 +11:00
pasemi-rng.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
via-rng.c via-rng: enable secondary noise source on CPUs where it is present 2008-02-06 10:41:05 -08:00