Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Sep 2025 22:55:20 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Sep 2025 22:55:20 +0000 (15:55 -0700)
commit1896ce8eb6c61824f6c1125d69d8fda1f44a22f8
treeb05121e615b6f063b0544a0e27db5d1c65ca23e6
parentd8768fb12a14c30436bd0466b4fc28edeef45078
parenta1f692fd69ccdbe1e492d366788b63227d429753
Merge tag 'fsverity-for-linus' of git://git./fs/fsverity/linux

Pull interleaved SHA-256 hashing support from Eric Biggers:
 "Optimize fsverity with 2-way interleaved hashing

  Add support for 2-way interleaved SHA-256 hashing to lib/crypto/, and
  make fsverity use it for faster file data verification. This improves
  fsverity performance on many x86_64 and arm64 processors.

  Later, I plan to make dm-verity use this too"

* tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux:
  fsverity: Use 2-way interleaved SHA-256 hashing when supported
  fsverity: Remove inode parameter from fsverity_hash_block()
  lib/crypto: tests: Add tests and benchmark for sha256_finup_2x()
  lib/crypto: x86/sha256: Add support for 2-way interleaved hashing
  lib/crypto: arm64/sha256: Add support for 2-way interleaved hashing
  lib/crypto: sha256: Add support for 2-way interleaved hashing
fs/verity/verify.c
lib/crypto/arm64/sha256.h
lib/crypto/x86/sha256.h