crypto: rng - Introduce crypto_rng_generate
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Apr 2015 05:39:04 +0000 (13:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 02:19:58 +0000 (10:19 +0800)
commitff030b099a21a4753af575b4304249e88400e506
treef54046623574ff38c4da038d3eff37837978aec6
parentd0e83059a6c9b04f00264a74b8f6439948de4613
crypto: rng - Introduce crypto_rng_generate

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>
crypto/rng.c
include/crypto/rng.h