random: remove rand32_timestamp.c
This is a copy of rand32_timer.c that uses z_do_read_cpu_timestamp32() instead of k_cycle_get_32(), with some logic to ensure different values when called in rapid succession missing. Like the other driver, its reported values are not random, it's a testing generator only. This appears to have no advantages over rand32_timer.c, just remove it. In QEMU emulation, the reported TSC values tend to have the lowest five bits zeroed. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
9f0acd44a4
commit
81cfb08f52
4 changed files with 0 additions and 82 deletions
|
@ -2,13 +2,11 @@
|
|||
|
||||
if (CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR OR
|
||||
CONFIG_TIMER_RANDOM_GENERATOR OR
|
||||
CONFIG_X86_TSC_RANDOM_GENERATOR OR
|
||||
CONFIG_XOROSHIRO_RANDOM_GENERATOR)
|
||||
zephyr_library()
|
||||
endif()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_TIMER_RANDOM_GENERATOR rand32_timer.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_X86_TSC_RANDOM_GENERATOR rand32_timestamp.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_XOROSHIRO_RANDOM_GENERATOR rand32_xoroshiro128.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_CTR_DRBG_CSPRNG_GENERATOR rand32_ctr_drbg.c)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue