Home
last modified time | relevance | path

Searched hist:"5959 d83f6f5828c84992be4b693147f33b3d596e" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_rng.c5959d83f6f5828c84992be4b693147f33b3d596e Wed Jan 10 15:56:14 UTC 2024 Gatien Chevallier <gatien.chevallier@foss.st.com> drivers: stm32_rng: move RNG configuration to compat data

Register values cannot be part of the device tree.
As choosing another RNG configuration that is not the default
NIST-certified one should be uncommon, it is acceptable to define
it in the compatible data and require to re-compile OP-TEE to change
the RNG configuration.

Also adds support for RNG V4.1 and above. These versions have a power
optimization and a modification of the seed error concealment. New
health tests and noise source registers are configurable and are part
of the RNG configuration.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>