The TPM device has a builtin random number generator(RNG) functionality. Expose the RNG functions of the TPM device to the driver model so that they can be used by the EFI_RNG_PROTOCOL if the protocol is installed. Also change the function arguments and return type of the random number functions to comply with the driver model api. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| iproc_rng200.c | ||
| meson-rng.c | ||
| msm_rng.c | ||
| npcm_rng.c | ||
| optee_rng.c | ||
| rng-uclass.c | ||
| rockchip_rng.c | ||
| sandbox_rng.c | ||
| smccc_trng.c | ||
| stm32mp1_rng.c | ||
| tpm_rng.c | ||