Hasty Briefsbeta

Bilingual

Linux 7.1 Crypto Code Rework Enables More Optimizations by Default

14 hours ago
  • #Cryptography
  • #Linux Kernel
  • #Performance Optimization
  • Linux kernel 7.1 updates the libcrypto subsystem to enable more optimizations by default, improving crypto and hashing performance.
  • Hashing algorithms are migrated from the traditional crypto subsystem to lib/crypto/, simplifying implementations and allowing for future simplifications.
  • Optimizations for AES CBC-based MACs (AES-CMAC, AES-XCBC-MAC, AES-CBC-MAC) and GHASH are now enabled by default with integration enhancements.
  • SHA-256 performance is optimized on Zhaoxin CPUs using the Padlock Hash Engine, and old, less useful MD5 implementations are removed.
  • The changes, contributed by Eric Biggers of Google, facilitate better performance and code cleaning in the Linux kernel's cryptography components.