linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH 0/2] Convert fs/verity/ to use SHA-2 library API
@ 2025-06-30 17:22 Eric Biggers via Linux-f2fs-devel
  2025-06-30 17:22 ` [f2fs-dev] [PATCH 1/2] lib/crypto: hash_info: Move hash_info.c into lib/crypto/ Eric Biggers via Linux-f2fs-devel
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eric Biggers via Linux-f2fs-devel @ 2025-06-30 17:22 UTC (permalink / raw)
  To: fsverity
  Cc: Jason A . Donenfeld, Theodore Ts'o, linux-kernel,
	linux-f2fs-devel, Eric Biggers, linux-crypto, linux-ext4,
	Ard Biesheuvel, linux-btrfs

This series, including all its prerequisites, is also available at:

    git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git fsverity-libcrypto-v1

This series makes fs/verity/ use the SHA-2 library API instead of the
old-school crypto API.  This is simpler and more efficient.

This depends on my SHA-2 library improvements for 6.17 (many patches),
so this patchset might need to wait until 6.18.  But I'm also thinking
about just basing the fsverity tree on libcrypto-next for 6.17.

Eric Biggers (2):
  lib/crypto: hash_info: Move hash_info.c into lib/crypto/
  fsverity: Switch from crypto_shash to SHA-2 library

 Documentation/filesystems/fsverity.rst |   3 +-
 crypto/Kconfig                         |   3 -
 crypto/Makefile                        |   1 -
 fs/verity/Kconfig                      |   6 +-
 fs/verity/enable.c                     |   8 +-
 fs/verity/fsverity_private.h           |  24 +--
 fs/verity/hash_algs.c                  | 194 +++++++++----------------
 fs/verity/open.c                       |  36 ++---
 fs/verity/verify.c                     |   7 +-
 lib/crypto/Kconfig                     |   3 +
 lib/crypto/Makefile                    |   2 +
 {crypto => lib/crypto}/hash_info.c     |   0
 12 files changed, 107 insertions(+), 180 deletions(-)
 rename {crypto => lib/crypto}/hash_info.c (100%)

-- 
2.50.0



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-09 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 17:22 [f2fs-dev] [PATCH 0/2] Convert fs/verity/ to use SHA-2 library API Eric Biggers via Linux-f2fs-devel
2025-06-30 17:22 ` [f2fs-dev] [PATCH 1/2] lib/crypto: hash_info: Move hash_info.c into lib/crypto/ Eric Biggers via Linux-f2fs-devel
2025-06-30 17:22 ` [f2fs-dev] [PATCH 2/2] fsverity: Switch from crypto_shash to SHA-2 library Eric Biggers via Linux-f2fs-devel
2025-07-04 13:25 ` [f2fs-dev] [PATCH 0/2] Convert fs/verity/ to use SHA-2 library API Ard Biesheuvel via Linux-f2fs-devel
2025-07-09 19:26 ` Eric Biggers via Linux-f2fs-devel
2025-07-09 20:29   ` Eric Biggers via Linux-f2fs-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).