Home
last modified time | relevance | path

Searched hist:"47 fd72092aa569f9da13393ed5387af5945e7ef5" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/
H A Driscv_zkr_rng.c47fd72092aa569f9da13393ed5387af5945e7ef5 Tue Jul 23 09:41:10 UTC 2024 Yu Chien Peter Lin <peterlin@andestech.com> core: drivers: riscv_zkr_rng: limit seed reading time

If the attempts to read SEED exceed 1 second for 16-bit
randomness, we consider it a failure.

Also, move seed CSR field encodings to the header file.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Alvin Chang <alvinga@andestech.com>
Tested-by: Alvin Chang <alvinga@andestech.com>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
/optee_os/core/arch/riscv/include/
H A Dencoding.h47fd72092aa569f9da13393ed5387af5945e7ef5 Tue Jul 23 09:41:10 UTC 2024 Yu Chien Peter Lin <peterlin@andestech.com> core: drivers: riscv_zkr_rng: limit seed reading time

If the attempts to read SEED exceed 1 second for 16-bit
randomness, we consider it a failure.

Also, move seed CSR field encodings to the header file.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Alvin Chang <alvinga@andestech.com>
Tested-by: Alvin Chang <alvinga@andestech.com>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
H A Driscv.h47fd72092aa569f9da13393ed5387af5945e7ef5 Tue Jul 23 09:41:10 UTC 2024 Yu Chien Peter Lin <peterlin@andestech.com> core: drivers: riscv_zkr_rng: limit seed reading time

If the attempts to read SEED exceed 1 second for 16-bit
randomness, we consider it a failure.

Also, move seed CSR field encodings to the header file.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Alvin Chang <alvinga@andestech.com>
Tested-by: Alvin Chang <alvinga@andestech.com>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>