zephyr/modules
Valerio Setti 46b8536a27 mbedtls: add TEST_CSPRNG_GENERATOR to the list of non-CS sources
Strong entropy/random sources are a must to get secure crypto algorithms,
but sometimes its useful to allow non-CS sources as well for sake of
test purposes. MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG was
designed exactly for this scope, but recently also TEST_CSPRNG_GENERATOR
was added and it acts similarly:

- MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG operates in
  "zephyr/modules/mbedtls/zephyr_entropy.c" allowing
  mbedtls_psa_external_get_random() to try both sys_csrand_get() first
  and then sys_rand_get() as fallback.

- TEST_CSPRNG_GENERATOR instead operates in
  "zephyr/subsys/random/random_test_csprng.c" and it basically wraps
  the call to sys_csrand_get() with a call to sys_rand_get().

Albeit they operate at different level, the result is identical, so
Mbed TLS should support both of them when MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
is set and there is no CSPRNG_ENABLED.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-12-19 17:53:37 +01:00
..
acpica
canopennode
cmsis
cmsis-dsp
cmsis-nn
fatfs
hal_ambiq
hal_ethos_u
hal_gigadevice
hal_infineon kernel: Introduce _THREAD_SLEEPING state bit 2024-12-18 18:17:03 +01:00
hal_nordic
hal_nxp
hal_rpi_pico
hal_silabs
hal_st
hal_tdk modules: hal_tdk: Introduce kconfig symbol to prevent cmake warning 2024-12-19 15:18:19 +01:00
hal_wch
hostap hostap: Enable WPA_CLI if WIFI_NM_WPA_SUPPLICANT_CLI is selected 2024-12-19 07:06:26 +01:00
liblc3
littlefs
loramac-node
lvgl
lz4
mbedtls mbedtls: add TEST_CSPRNG_GENERATOR to the list of non-CS sources 2024-12-19 17:53:37 +01:00
nanopb
nrf_wifi
openthread net: openthread: Add openthread tcat multiradio config. 2024-12-19 12:36:54 +01:00
percepio
segger modules: segger: fix typos 2024-12-17 23:14:44 +01:00
tflite-micro
thrift
trusted-firmware-a
trusted-firmware-m
uoscore-uedhoc
zcbor
Kconfig drivers: wifi: make WIFI_BUILD_ONLY_MODE global symbol 2024-12-18 18:17:16 +01:00
Kconfig.altera
Kconfig.atmel
Kconfig.chre
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32
Kconfig.imx
Kconfig.infineon
Kconfig.intel
Kconfig.libmetal
Kconfig.mcuboot
Kconfig.mcux
Kconfig.microchip
Kconfig.nuvoton
Kconfig.nxp_s32
Kconfig.open-amp
Kconfig.picolibc
Kconfig.renesas_fsp
Kconfig.rust
Kconfig.simplelink
Kconfig.sof
Kconfig.stm32
Kconfig.sysbuild
Kconfig.syst
Kconfig.telink
Kconfig.tinycrypt
Kconfig.vega
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake