All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] dm-integrity: Implement asynch digest support
@ 2025-01-29 16:25 Harald Freudenberger
  2025-01-29 16:25 ` [PATCH v2 1/2] dm-integrity: use internal variable for digestsize Harald Freudenberger
  2025-01-29 16:25 ` [PATCH v2 2/2] dm-integrity: introduce ahash support for the internal hash Harald Freudenberger
  0 siblings, 2 replies; 3+ messages in thread
From: Harald Freudenberger @ 2025-01-29 16:25 UTC (permalink / raw)
  To: dengler, ifranzki, agk, snitzer, mpatocka; +Cc: linux-s390, dm-devel, herbert

Support for ahashes in dm-integrity.

Please note this code is elementary tested but needs some more
test coverage before integration. I can't do that as I only have
a s390 platform but I assume someone from dmcrypt/dmintegrity will
run a more sophisticated test suite on this.

Changelog:

v1: First implementation. Tested with crc32, sha256, hmac-sha256 and
    the s390 specific implementations for hmac-sha256 and protected
    key phmac-sha256. Also ran with some instrumented code (in the digest
    implementation) to verify that in fact now the code runs asynchronous.
v2: Support shash and ahash. Based on Mikulas' idea about implementing
    ahash support similar to dm-verity this version now adds support
    for ahash but does not replace the shash support. For more details
    see the text of the patch header.

Harald Freudenberger (2):
  dm-integrity: use internal variable for digestsize
  dm-integrity: introduce ahash support for the internal hash

 drivers/md/dm-integrity.c | 237 +++++++++++++++++++++++++++++---------
 1 file changed, 180 insertions(+), 57 deletions(-)


base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
-- 
2.43.0


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

end of thread, other threads:[~2025-01-29 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 16:25 [PATCH v2 0/2] dm-integrity: Implement asynch digest support Harald Freudenberger
2025-01-29 16:25 ` [PATCH v2 1/2] dm-integrity: use internal variable for digestsize Harald Freudenberger
2025-01-29 16:25 ` [PATCH v2 2/2] dm-integrity: introduce ahash support for the internal hash Harald Freudenberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.