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 modules: canopennode: add rxmsg callback 2024-10-16 12:26:40 +02:00
cmsis arch: arm: cleanup of soc flags in arch 2024-11-16 15:56:11 -05:00
cmsis-dsp manifest: update cmsis-dsp to v1.16.2 2024-11-25 14:42:07 +01:00
cmsis-nn modules: cmsis-nn: add *_s4.c sources 2024-06-28 07:50:12 -04:00
fatfs fs: fatfs: additional ELM FAT options 2024-10-11 13:20:08 -04:00
hal_ambiq drivers: udc_ambiq: Implemented UDC driver for apollo4p 2024-11-16 15:07:29 -05:00
hal_ethos_u
hal_gigadevice
hal_infineon kernel: Introduce _THREAD_SLEEPING state bit 2024-12-18 18:17:03 +01:00
hal_nordic hal_nordic: nrfs: dvfs: Update SystemCoreClock on frequency change 2024-12-17 23:14:06 +01:00
hal_nxp modules: hal_nxp: osa: Remove deprecated OSA API 2024-10-25 08:54:18 +02:00
hal_rpi_pico modules: hal_rpi_pico: Use Zephyr noinline definition 2024-11-30 01:04:11 +01:00
hal_silabs drivers: dma: Add initial support for silabs LDMA 2024-12-16 18:24:51 +01:00
hal_st
hal_tdk modules: hal_tdk: Introduce kconfig symbol to prevent cmake warning 2024-12-19 15:18:19 +01:00
hal_wch west: add the hal_wch 2024-11-26 14:41:46 +00:00
hostap hostap: Enable WPA_CLI if WIFI_NM_WPA_SUPPLICANT_CLI is selected 2024-12-19 07:06:26 +01:00
liblc3
littlefs fs: littlefs: add littlefs disk version selection 2024-12-17 20:55:51 +01:00
loramac-node lorawan: services: frag transport: prepare for pluggable decoder 2024-06-11 16:09:23 +03:00
lvgl boards: fix dependency for LV_COLOR_SWAP_16 to use configdefault 2024-11-21 09:19:19 +01:00
lz4 modules: lz4: add configurability 2024-11-22 22:46:59 +00:00
mbedtls mbedtls: add TEST_CSPRNG_GENERATOR to the list of non-CS sources 2024-12-19 17:53:37 +01:00
nanopb modules: nanopb: Pull upstream fixes 2024-05-07 21:22:43 -04:00
nrf_wifi modules: nrf_wifi: Remove unused define 2024-12-13 17:44:06 +01:00
openthread net: openthread: Add openthread tcat multiradio config. 2024-12-19 12:36:54 +01:00
percepio modules: percepio: Fix python executable name 2024-08-28 06:49:27 -04:00
segger modules: segger: fix typos 2024-12-17 23:14:44 +01:00
tflite-micro modules: tflite-micro: add batch_matmul.cc to cmakelists.txt 2024-09-18 09:56:06 +02:00
thrift thrift: Define module-wide _POSIX_C_SOURCE feature test macro 2024-10-22 20:40:20 +02:00
trusted-firmware-a
trusted-firmware-m boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
uoscore-uedhoc
zcbor zcbor: Kconfig: Clarify docs for the ZCBOR_STOP_ON_ERROR config 2024-10-25 22:47:53 +01:00
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 modules: Kconfig: Provide default definitions for modules with blobs 2024-09-16 10:07:13 +02:00
Kconfig.imx
Kconfig.infineon drivers: rtc: Add RTC driver for Infineon XMC4xxx devices 2024-09-04 09:54:52 +02:00
Kconfig.intel
Kconfig.libmetal
Kconfig.mcuboot mcuboot: Add support for RAM load mode 2024-10-11 13:19:39 -04:00
Kconfig.mcux nxp: combine MONOLITHIC_BT and MONOLITHIC_IEEE802154 2024-12-10 11:11:38 +01:00
Kconfig.microchip soc: microchip: mec: Add new HAL based MEC5 family chips 2024-05-21 16:45:30 -04:00
Kconfig.nuvoton drivers: usb_c: numaker: support Nuvoton's M2L31 series 2024-08-01 12:38:53 +02:00
Kconfig.nxp_s32
Kconfig.open-amp
Kconfig.picolibc
Kconfig.renesas_fsp drivers: entropy: Add support for SCE5 to entropy driver 2024-12-16 10:52:16 +01:00
Kconfig.rust modules: Add placeholder for CONFIG_RUST 2024-09-26 17:46:27 -04:00
Kconfig.simplelink posix: deprecate PTHREAD_IPC _MUTEX _COND and _KEY 2024-06-04 16:27:12 -05:00
Kconfig.sof
Kconfig.stm32 modules: stm32: add hal_sdio kconfig 2024-12-07 11:02:18 +01:00
Kconfig.sysbuild
Kconfig.syst
Kconfig.telink
Kconfig.tinycrypt TinyCrypt: Deprecate the library 2024-12-12 11:05:59 +01:00
Kconfig.vega
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake