hwrng: add OP-TEE based rng driver
authorSumit Garg <sumit.garg@linaro.org>
Tue, 29 Jan 2019 05:49:38 +0000 (11:19 +0530)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 1 Feb 2019 14:12:46 +0000 (15:12 +0100)
commit5fe8b1cc6a03c46b3061e808256d39dcebd0d0f0
tree02259dbae37297a4cfbae43a53db81a594dca0c4
parentc3fa24af92445c419c19df5981ab4e41a3ae3361
hwrng: add OP-TEE based rng driver

On ARM SoC's with TrustZone enabled, peripherals like entropy sources
might not be accessible to normal world (linux in this case) and rather
accessible to secure world (OP-TEE in this case) only. So this driver
aims to provides a generic interface to OP-TEE based random number
generator service.

This driver registers on TEE bus to interact with OP-TEE based rng
device/service.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
MAINTAINERS
drivers/char/hw_random/Kconfig
drivers/char/hw_random/Makefile
drivers/char/hw_random/optee-rng.c [new file with mode: 0644]