Linux 7.2 Gets Rid of the Last Optimized MD5 Implementation

t-31 pts0 comments

Linux 7.2 Gets Rid Of The Last Optimized MD5 Implementation - Phoronix

Articles & Reviews

News Archive

Forums

Premium Ad-Free<br>Contact

Popular Categories

Close

Articles & Reviews

News Archive

Forums

Premium

Contact

Categories

Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals

Linux 7.2 Gets Rid Of The Last Optimized MD5 Implementation

Written by Michael Larabel in Linux Kernel on 18 June 2026 at 08:47 PM EDT. Add A Comment

The Linux kernel has dropped the last of its architecture-specific optimized MD5 hashing algorithm implementations.

While MD5 had been widely-used for checksums for data integrity purposes, its known collision vulnerabilities have existed for many years. Or rather, decades. Thankfully most software has moved on from using MD5 in favor of more secure algorithms. For legacy uses of MD5, the generic code paths these days on modern processors have proven more than adequate that architecture-specific implementations aren't really worthwhile.

Last year the MIPS and SPARC architectures saw their MD5 optimized implementations removed after not being deemed "worth keeping around". PowerPC was originally marked for removal too at that time but as a PowerPC user noted his organization still had several applications using MD5 and was finding performance benefit out of it. That usage though was via AF_ALG with the libkcapi-hasher.

But with Linux 7.2 now moving fast in deprecating AF_ALG due to its security woes, the PowerPC demonstrated use-case for this optimized MD5 code is no longer applicable. For those wanting faster MD5 on PowerPC moving forward with newer Linux kernels, the optimized kernel implementation contains no privileged instructions and could be carried in user-space without any complexities.

As such with the now-merged crypto library updates for Linux 7.2, the PowerPC MD5 code is removed as "the last architecture-specific implementation of MD5."

MD5 support is still around in the kernel, just as the generic implementation that is "good enough" for modern hardware and legacy uses across all CPU architectures.

Add A Comment

Tweet

AF_ALG Deprecation Approved For Linux 7.2, Useless & Insecure Crypto Driver Code Removed<br>Linux 7.2 Protects Against "Stupid Or Malicious" DoS Attempts By Arming Timers In The Past<br>Linux 7.2 Slab Changes Include More Performance Optimizations<br>Initial AMDGPU HDMI 2.1 FRL Support Successfully Merged For Linux 7.2<br>Linux 7.2 Improves Anonymous/Unnamed Pipe Performance For Shell Pipelines & More<br>Linux 7.2 Continues Removing Old i486 Code Remnants, Adds Rugged Panther Lake

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.

Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Affected Packages<br>ReactOS "Open-Source Windows" Reaches The Milestone Of Being Able To Run Half-Life<br>Arch Linux's AUR Sees More Than 400 Packages Compromised With Malware<br>Arch Linux AUR Hit By Another Wave Of Now More Sophisticated Malware Attack<br>Russian Spam & Profanities Are Now Plaguing The Arch Linux AUR<br>YSERVER: Modern X11 Server Written In Rust With The Help Of Claude Code<br>AMD Opens Pre-Orders For The Linux-Friendly Ryzen AI Halo Developer Platform<br>Linux 7.1 Released: New NTFS Driver, Intel FRED For Panther Lake, Faster Arc Graphics

Intel TDX Now Much More Practical With Ability To Apply Important Updates Without Reboot

ARCTIC Fan Controller, More ASUS & ASRock Boards Have Sensor Monitoring With Linux 7.2

AMD ISP4 Driver Merged To Linux 7.2 Kernel

Linux 7.2 Gets Rid Of The Last Optimized MD5 Implementation

Godot 4.7 Released With HDR Output Support

EXT4 Reworks Fast Commit Handling & Faster Directory Hash Computation

Rust PNG Image Decoder Now Even Faster: Benefiting Chrome, GNOME, Etc

Claude AI Assists In Fixing Years Old AMD Radeon Linux Display Bug Affecting Numerous Laptops

AF_ALG Deprecation Approved For Linux 7.2, Useless & Insecure Crypto Driver Code Removed

Ubuntu Flavors Now Mandated To Participate In Beta Releases For Official Status

Latest LLVM Patch Further Points To AMD GFX1250/GFX1251 Being Instinct Hardware

Linux 7.2 EDAC Drivers Prep For Diamond Rapids, Nova Lake H

SteamOS 3.8.10 Stable Released With Updated Arch, Steam Machine Support & Wayland Desktop Default

Linux 7.2 Protects Against "Stupid Or Malicious" DoS Attempts By Arming Timers In The Past

Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued...

linux optimized last implementation code kernel

Related Articles