summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-10-22 16:57:05 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-11-01 03:37:10 +0300
commit2cc751545854d7bd7eedf4d7e377bb52e176cd07 (patch)
tree3da983c4888bc5b606db9051f2322af27048fa68 /drivers/crypto/atmel-aes.c
parentd7db7a882debaffc78f91aabedee973aa1f73390 (diff)
downloadlinux-2cc751545854d7bd7eedf4d7e377bb52e176cd07.tar.xz
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>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
0 files changed, 0 insertions, 0 deletions