Files
ack-tegra/include/linux
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-07 17:34:35 -07:00
2018-06-15 18:10:01 -03:00
2018-06-14 17:01:45 +02:00
2018-06-15 18:10:01 -03:00
2018-07-03 18:33:19 -04:00
2018-06-07 17:34:37 -07:00
2018-06-21 17:39:18 +02:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-07 17:34:39 -07:00
2018-06-07 17:34:36 -07:00
2018-06-07 17:34:35 -07:00
2018-06-29 08:48:06 -06:00
2018-06-07 17:34:35 -07:00