tests: crypto: rand32: test xoshiro128 impl

Validate the xoshiro128++ implementation against the randomness tests.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2021-07-25 17:58:10 +10:00 committed by Carles Cufí
commit 3a204adf7b
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,4 @@
CONFIG_ZTEST=y
CONFIG_LOG=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_XOSHIRO_RANDOM_GENERATOR=y

View file

@ -11,6 +11,11 @@ tests:
filter: CONFIG_ENTROPY_HAS_DRIVER
tags: crypto entropy random security
min_ram: 16
crypto.rand32.random_hw_xoshiro:
extra_args: CONF_FILE=prj_hw_random_xoshiro.conf
filter: CONFIG_ENTROPY_HAS_DRIVER
tags: crypto entropy random security
min_ram: 16
crypto.rand32.random_ctr_drbg:
extra_args: CONF_FILE=prj_ctr_drbg.conf
filter: CONFIG_ENTROPY_HAS_DRIVER