By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux Patches To Unconditionally Enable Architecture-Optimized BLAKE2s Support
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux Patches To Unconditionally Enable Architecture-Optimized BLAKE2s Support
Computing

Linux Patches To Unconditionally Enable Architecture-Optimized BLAKE2s Support

News Room
Last updated: 2025/08/28 at 7:29 AM
News Room Published 28 August 2025
Share
SHARE

While Linus Torvalds doesn’t too often like new kernel options being enabled by default, one area where it has proven beneficial and otherwise an oversight by those configuring their own kernel builds is the architecture-optimized crypto algorithm implementations. Some will enable support for different kernel crypto algorithms only to forget or be unaware that there are CPU architecture specific implementations that can also typically be enabled for much better performance over the common code. Google engineer Eric Biggers has been cleaning this up and BLAKE2s is the latest receiving treatment.

Eric Biggers who has been known for his relentless crypto kernel optimizations over the years sent out a new patch series on Wednesday to better clean-up the ChaCha and BLAKE2s code. As part of that patch series is also enabling the architecture-optimized BLAKE2s code by default, similar to the process other crypto algorithms have gone through.

Of the patch series most interesting is the patch to always enable the arch-optimized BLAKE2s code. There he argues:

“When support for a crypto algorithm is enabled, the arch-optimized implementation of that algorithm should be enabled too. We’ve learned this the hard way many times over the years: people regularly forget to enable the arch-optimized implementations of the crypto algorithms, resulting in significant performance being left on the table.

Currently, BLAKE2s support is always enabled (‘obj-y’), since random.c uses it. Therefore, the arch-optimized BLAKE2s code, which exists for ARM and x86_64, should be always enabled too. Let’s do that.

Note that the effect on kernel image size is very small and should not be a concern. On ARM, enabling CRYPTO_BLAKE2S_ARM actually *shrinks* the kernel size by about 1200 bytes, since the ARM-optimized blake2s_compress() completely replaces the generic blake2s_compress(). On x86_64, enabling CRYPTO_BLAKE2S_X86 increases the kernel size by about 1400 bytes, as the generic blake2s_compress() is still included as a fallback; however, for context, that is only about a quarter the size of the generic blake2s_compress(). The x86_64 optimized BLAKE2s code uses much less icache at runtime than the generic code.”

In the case of the x86_64 optimized BLAKE2s, this allows for SSSE3 and AVX-512 usage for faster BLAKE2s cryptographic hashing performance.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article I won't be buying any of the Pixel 10 phones, and neither should you. Here's why
Next Article FOX hires top ESPN analyst in major shake-up after losing star to rival network
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Pixel 10 Pro XL vs. Galaxy S25 Ultra: Android Camera Battle
News
5 New Prime Video Shows I Can’t Wait To Stream in Fall 2025
News
VESA DRM Driver Ready With 8-Bit Color Palette Mode For Linux 6.18
Computing
Remarkable teases new Paper tablet that could be its best yet
Gadget

You Might also Like

Computing

VESA DRM Driver Ready With 8-Bit Color Palette Mode For Linux 6.18

1 Min Read
Computing

My kids and I adore these animated movies and so will you

6 Min Read
Computing

Telecom operators push for tougher penalties on fibre vandalism

5 Min Read
Computing

Free Bill of Materials Template for Manufacturing & Inventory

35 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?