crypto: algif_rng - zeroize buffer with random data
authorStephan Mueller <smueller@chronox.de>
Fri, 13 Mar 2015 10:44:07 +0000 (11:44 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 16 Mar 2015 10:46:25 +0000 (21:46 +1100)
commit2ef4d5c43de945b7c78454eac63e5f4fe68f82fc
treeebd4bdc15349ccc3f9cf27ba8edeed24fb5e4c4b
parent5986ac4fcb451160acdc8bf3a0b81ac9a72b3251
crypto: algif_rng - zeroize buffer with random data

Due to the change to RNGs to always return zero in success case, the RNG
interface must zeroize the buffer with the length provided by the
caller.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_rng.c