Home
last modified time | relevance | path

Searched hist:"501 ef24e9eb1cd9cfda419e55d3df9620586cffa" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/arm/plat-rcar/
H A Dhw_rng.c501ef24e9eb1cd9cfda419e55d3df9620586cffa Mon Jan 25 15:16:30 UTC 2021 Volodymyr Babchuk <volodymyr_babchuk@epam.com> plat: rcar: implement hw_get_random_byte() function

As we now can call ROM API to access hardware random generator, it is
possible to implement generic interface to it, using hw_get_random_byte()
function.

ROM API provides 32 bytes of random data at a time. To optimally use it, we
need to cache received random vector and provide random number bytes from
it one by one.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
H A Dsub.mk501ef24e9eb1cd9cfda419e55d3df9620586cffa Mon Jan 25 15:16:30 UTC 2021 Volodymyr Babchuk <volodymyr_babchuk@epam.com> plat: rcar: implement hw_get_random_byte() function

As we now can call ROM API to access hardware random generator, it is
possible to implement generic interface to it, using hw_get_random_byte()
function.

ROM API provides 32 bytes of random data at a time. To optimally use it, we
need to cache received random vector and provide random number bytes from
it one by one.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Jerome Forissier <jerome@forissier.org>