VOOZH about

URL: https://www.phoronix.com/news/Linux-7.1-Crypto

⇱ Linux 7.1 Crypto Code Rework Enables More Optimizations By Default - Phoronix


👁 Phoronix

Linux 7.1 Crypto Code Rework Enables More Optimizations By Default

Written by Michael Larabel in Linux Kernel on 17 April 2026 at 08:27 AM EDT. 1 Comment
Linux libcrypto cryptography subsystem changes for the v7.1 kernel are enabling more optimizations by default and in turn helping to achieve better crypto/hashing performance on this next kernel version.

The crypto pull this week from Eric Biggers of Google migrates more hashing algorithms from the traditional crypto subsystem to the new designated area of lib/crypto/ within the Linux kernel source tree. This simplifies the implementations, helps achieve better performance, and opens the door to more simplifications and code cleaning.

AES CBC-based MACs (AES-CMAC, AES-XCBC-MAC, and AES-CBC-MAC) and GHASH are now seeing optimizations enabled by default. This isn't simply moving existing code over to lib/crypto/ but making integration enhancements along the way.

The libcrypto code in Linux 7.1 also now optimizes SHA-256 performance on Zhaoxin CPUs via the Padlock Hash Engine, dropping some old and not too useful MD5 implementations, and other changes. More details for those interested via this Git merge.

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.