Linux 6.1 Continues Improving The RNG & Crypto Code

Written by Michael Larabel in Linux Kernel on 4 October 2022 at 05:00 AM EDT. 6 Comments
LINUX KERNEL
The random number generator "RNG" and crypto subsystem pull requests have already been submitted for the Linux 6.1 merge window.

Jason Donenfeld of WireGuard fame continues spending a lot of time working to clean-up Linux's RNG code. For Linux 6.1 the RNG code has seen a regression fix come around O_NONBLOCK that broke user-space some two years ago, a performance regression fix, using randomness from hardware RNGs earlier in the boot process, and a variety of other smaller changes to the RNG code that has been undergoing a lot of improvements as of late.

The full list of RNG changes for Linux 6.1 can be found via this pull request.

In somewhat related news, the crypto subsystem updates have also been submitted by Herbert Xu. On the crypto side this cycle there is an API change for feeding untrusted RNGs into /dev/random, ARS-NI/AVX/x86_64/GFNI assembler implementations of the Aria cipher, the HACE crypto driver is added for ASpeed hardware, and a variety of other changes. See this pull request for all of the crypto feature changes targeting Linux 6.1.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week