random: Rename source files
s/rand32/random. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
d68db182b9
commit
85a7b27f97
|
@ -5,7 +5,7 @@ if (CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR OR
|
||||||
CONFIG_XOSHIRO_RANDOM_GENERATOR)
|
CONFIG_XOSHIRO_RANDOM_GENERATOR)
|
||||||
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/random/random.h)
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/random/random.h)
|
||||||
zephyr_library()
|
zephyr_library()
|
||||||
zephyr_library_sources_ifdef(CONFIG_USERSPACE rand32_handlers.c)
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE random_handlers.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CONFIG_TIMER_RANDOM_GENERATOR)
|
if (CONFIG_TIMER_RANDOM_GENERATOR)
|
||||||
|
@ -15,12 +15,12 @@ if (CONFIG_TIMER_RANDOM_GENERATOR)
|
||||||
Use it carefully.")
|
Use it carefully.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_TIMER_RANDOM_GENERATOR rand32_timer.c)
|
zephyr_library_sources_ifdef(CONFIG_TIMER_RANDOM_GENERATOR random_timer.c)
|
||||||
zephyr_library_sources_ifdef(CONFIG_XOSHIRO_RANDOM_GENERATOR rand32_xoshiro128.c)
|
zephyr_library_sources_ifdef(CONFIG_XOSHIRO_RANDOM_GENERATOR random_xoshiro128.c)
|
||||||
zephyr_library_sources_ifdef(CONFIG_CTR_DRBG_CSPRNG_GENERATOR rand32_ctr_drbg.c)
|
zephyr_library_sources_ifdef(CONFIG_CTR_DRBG_CSPRNG_GENERATOR random_ctr_drbg.c)
|
||||||
|
|
||||||
if (CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR OR CONFIG_HARDWARE_DEVICE_CS_GENERATOR)
|
if (CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR OR CONFIG_HARDWARE_DEVICE_CS_GENERATOR)
|
||||||
zephyr_library_sources(rand32_entropy_device.c)
|
zephyr_library_sources(random_entropy_device.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CONFIG_CTR_DRBG_CSPRNG_GENERATOR)
|
if (CONFIG_CTR_DRBG_CSPRNG_GENERATOR)
|
||||||
|
|
Loading…
Reference in a new issue