mbedtls/ChangeLog.d/musl_getrandom.txt
Ning Xia 5d7359d884 fix(platform): detect getrandom syscall support
Backport the final approved implementation from Mbed-TLS/TF-PSA-Crypto#843
to mbedtls-3.6.

Enable the existing Linux getrandom syscall path when sys/syscall.h
is available and defines SYS_getrandom. Preserve the existing
glibc/Midipix detection and runtime ENOSYS fallback.

Apply the platform change to library/entropy_poll.c in this branch.

Signed-off-by: Ning Xia <hi@nosec.me>
2026-09-03 19:17:28 +08:00

6 lines
247 B
Plaintext

Features
* Use the getrandom() system call for PSA crypto initialization on Linux
when supported by the C library, including musl, uClibc and Android
bionic, avoiding unnecessary reliance on /dev/random on Linux 5.6 and
earlier.