Files
android_kernel_samsung_msm8…/lib
Akinobu Mita 0721e20caf prandom: introduce prandom_bytes() and prandom_bytes_state()
Add functions to get the requested number of pseudo-random bytes.

The difference from get_random_bytes() is that it generates pseudo-random
numbers by prandom_u32().  It doesn't consume the entropy pool, and the
sequence is reproducible if the same rnd_state is used.  So it is suitable
for generating random bytes for testing.

Change-Id: Iabb55fae5043dd7dad8ceb4537e0a8e14436231e
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: David Laight <david.laight@aculab.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Robert Love <robert.w.love@intel.com>
Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-08 15:08:50 +02:00
..
2011-10-03 11:40:37 -07:00
…
…
…
2019-08-05 14:20:47 +02:00
2011-10-29 21:20:22 +02:00
…
…
…
2012-03-23 16:58:38 -07:00
…
2019-08-05 14:20:47 +02:00
2012-03-23 16:58:38 -07:00
2019-08-05 14:20:47 +02:00
…
2019-08-06 12:26:30 +02:00
2012-01-31 23:19:47 +02:00
2011-12-08 19:52:43 -05:00
…
…
…
…