Tobin C. Harding
753d433b58
random: Return nbytes filled from hw RNG
...
Currently the function get_random_bytes_arch() has return value 'void'.
If the hw RNG fails we currently fall back to using get_random_bytes().
This defeats the purpose of requesting random material from the hw RNG
in the first place.
There are currently no intree users of get_random_bytes_arch().
Only get random bytes from the hw RNG, make function return the number
of bytes retrieved from the hw RNG.
Acked-by: Theodore Ts'o <tytso@mit.edu >
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org >
Signed-off-by: Tobin C. Harding <me@tobin.cc >
Signed-off-by: Theodore Ts'o <tytso@mit.edu >
2018-07-17 21:32:48 -04:00
..
2018-06-24 14:23:21 +01:00
2018-06-11 10:21:06 -07:00
2018-06-11 07:23:19 -07:00
2018-06-26 15:26:29 -07:00
2018-06-08 10:39:20 -07:00
2018-06-11 14:24:32 -07:00
2018-06-17 05:25:18 +09:00
2018-06-07 17:34:35 -07:00
2018-06-11 18:19:45 -07:00
2018-06-12 10:09:03 -07:00
2018-06-25 21:30:12 +08:00
2018-06-15 18:10:01 -03:00
2018-06-15 18:10:01 -03:00
2018-06-17 08:27:01 +09:00
2018-06-22 12:08:07 -06:00
2018-06-08 13:36:19 -07:00
2018-06-14 17:01:45 +02:00
2018-06-26 12:18:27 -06:00
2018-06-26 11:28:38 +02:00
2018-06-26 11:28:38 +02:00
2018-06-26 11:28:38 +02:00
2018-06-15 18:10:01 -03:00
2018-06-09 12:06:24 -07:00
2018-06-25 23:21:13 +09:00
2018-06-25 23:21:12 +09:00
2018-07-03 10:56:27 +02:00
2018-06-28 11:16:44 -07:00
2018-06-14 08:50:37 +02:00
2018-06-29 10:47:35 -07:00
2018-06-28 10:40:47 -07:00
2018-06-11 10:16:13 -07:00
2018-06-11 10:16:13 -07:00
2018-07-03 18:33:19 -04:00
2018-06-07 17:34:38 -07:00
2018-06-08 10:25:50 +02:00
2018-06-07 17:34:37 -07:00
2018-06-10 13:01:12 -07:00
2018-06-22 14:22:00 +02:00
2018-06-22 14:22:02 +02:00
2018-06-15 07:55:24 +09:00
2018-06-21 17:39:18 +02:00
2018-06-07 17:34:36 -07:00
2018-07-03 09:17:30 +02:00
2018-06-10 13:01:12 -07:00
2018-06-13 00:03:17 +09:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
2018-06-07 17:34:36 -07:00
2018-06-21 16:14:45 +02:00
2018-06-08 17:21:52 -07:00
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-18 13:43:09 +09:00
2018-06-07 17:34:39 -07:00
2018-06-15 15:27:09 +01:00
2018-06-28 10:40:47 -07:00
2018-07-02 20:34:04 +09:00
2018-06-12 19:12:43 +02:00
2018-06-19 09:25:27 -04:00
2018-06-07 17:34:36 -07:00
2018-06-07 17:34:37 -07:00
2018-06-07 12:45:58 -07:00
2018-06-07 17:34:35 -07:00
2018-06-25 09:41:37 +02:00
2018-06-12 10:24:13 +02:00
2018-06-28 10:40:47 -07:00
2018-07-17 21:32:48 -04:00
2018-06-15 18:10:01 -03:00
2018-06-10 06:14:01 +02:00
2018-06-12 23:33:25 +02:00
2018-06-29 08:48:06 -06:00
2018-07-03 09:17:30 +02:00
2018-06-07 17:34:35 -07:00
2018-06-28 10:40:47 -07:00
2018-06-07 17:34:34 -07:00
2018-06-15 07:55:23 +09:00
2018-06-28 11:16:44 -07:00
2018-06-12 23:33:24 +02:00
2018-06-14 12:21:18 +09:00
2018-06-25 23:21:13 +09:00
2018-06-15 18:10:01 -03:00
2018-06-07 17:34:38 -07:00
2018-06-07 17:34:38 -07:00
2018-06-07 16:15:38 -04:00
2018-06-07 20:54:23 +03:00