]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: rng - Introduce crypto_rng_generate
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Apr 2015 05:39:04 +0000 (13:39 +0800)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Wed, 13 Sep 2017 21:21:34 +0000 (14:21 -0700)
commit10c5ff895672ac9dec1571f770c319b6317334a3
tree2f5809994f2478eae10b29727b5a08a5bdc1f935
parent57d9ca6aefb513a6dcd67ff0897b697247461cb2
crypto: rng - Introduce crypto_rng_generate

Orabug: 26330509

This patch adds the new top-level function crypto_rng_generate
which generates random numbers with additional input.  It also
extends the mid-level rng_gen_random function to take additional
data as input.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit ff030b099a21a4753af575b4304249e88400e506)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
crypto/rng.c
include/crypto/rng.h