commit | 2cc751545854d7bd7eedf4d7e377bb52e176cd07 | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Sat Oct 22 15:57:05 2016 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Nov 01 08:37:10 2016 +0800 |
tree | 3da983c4888bc5b606db9051f2322af27048fa68 | |
parent | d7db7a882debaffc78f91aabedee973aa1f73390 [diff] |
hwrng: core - zeroize buffers with random data The HWRNG core allocates two buffers during initialization which are used to obtain random data. After that data is processed, it is now zeroized as it is possible that the HWRNG core will not be asked to produce more random data for a long time. This prevents leaving such sensitive data in memory. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>