Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 2efffed93811a7c5d0e6d7d19f8ff112128ffd6a https://github.com/tianocore/edk2/commit/2efffed93811a7c5d0e6d7d19f8ff112128ffd6a Author: Adriano Cordova <adriano.cord...@canonical.com> Date: 2025-09-02 (Tue, 02 Sep 2025)
Changed paths: M MdePkg/Library/BaseRngLib/Riscv/Rng.c Log Message: ----------- MdePkg/Library/BaseRngLib/Riscv: use CPU RNG instructions only Generate random number using risc-v CPU RNG instructions only, as for the other architectures. This is safer than using Mersenne Twister from a seed, which is the current implementation, as the latter is known to be cryptographically unsafe (e.g. see https://www.schutzwerk.com/en/blog/attacking-a-rng/) Signed-off-by: Adriano Cordova <adriano.cord...@canonical.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits