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
..
2008-03-03 14:53:16 -08:00
2008-04-15 19:35:41 -07:00
2008-04-12 00:16:49 -04:00
2008-04-02 00:03:00 -07:00
2008-03-28 14:45:23 -07:00
2008-04-11 08:06:44 -07:00
2008-03-12 13:08:09 -07:00
2008-03-04 11:28:41 +01:00
2008-04-17 07:47:02 +02:00
2008-03-23 21:51:12 -07:00
2008-03-05 14:45:31 -05:00
2008-03-26 00:58:19 -04:00
2008-03-30 14:20:24 -07:00
2008-02-08 15:33:33 -08:00
2008-02-05 09:44:23 -08:00
2008-03-31 11:45:41 -05:00
2008-02-07 08:42:23 -08:00
2008-03-27 21:01:14 +01:00
2008-04-04 14:46:26 -07:00
2008-03-10 18:01:19 -07:00
2008-03-18 11:20:33 +01:00
2008-03-27 08:40:41 -04:00
2008-04-11 12:07:05 +02:00
2008-04-17 01:14:33 +02:00
2008-03-14 00:56:59 +01:00
2008-03-30 14:20:24 -07:00
2008-04-02 10:14:29 -04:00
2008-04-13 22:44:20 -07:00
2008-04-15 19:35:40 -07:00
2008-03-30 14:20:23 -07:00
2008-03-13 10:09:27 +11:00
2008-04-11 08:06:44 -07:00
2008-04-07 19:14:34 -07:00
2008-03-28 14:45:23 -07:00
2008-03-18 15:13:40 -05:00
2008-03-30 14:20:24 -07:00
2008-04-15 19:35:40 -07:00
2008-04-15 19:35:40 -07:00
2008-04-08 18:25:53 -07:00
2008-04-16 07:44:27 -07:00
2008-02-05 09:44:23 -08:00
2008-02-06 16:29:59 +11:00
2008-02-14 21:17:08 -08:00
2008-03-15 19:17:12 -07:00
2008-04-04 14:30:31 -07:00
2008-03-28 14:45:22 -07:00
2008-04-15 19:35:40 -07:00
2008-03-26 14:22:20 -04:00
2008-02-07 09:45:58 -08:00
2008-02-14 22:11:01 +11:00
2008-03-03 10:47:13 -08:00
2008-04-15 19:35:40 -07:00
2008-04-17 07:47:01 +02:00
2008-04-06 16:10:08 -07:00
2008-04-15 19:35:40 -07:00
2008-02-26 14:12:09 +09:00
2008-03-17 08:11:48 -04:00
2008-04-15 19:35:41 -07:00
2008-04-15 15:04:35 -04:00
2008-04-15 19:35:41 -07:00
2008-03-24 22:33:49 -07:00
2008-04-15 22:30:53 -07:00
2008-04-15 19:35:40 -07:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-11 08:06:44 -07:00
2008-04-04 18:36:46 +02:00
2008-02-09 11:08:34 -08:00
2008-02-09 11:08:34 -08:00