Thread (35 messages) 35 messages, 3 authors, 2024-06-11

Re: [PATCH v4 6/8] fsverity: improve performance by using multibuffer hashing

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2024-06-05 09:46:31
Also in: dm-devel, linux-crypto, netdev

On Wed, Jun 05, 2024 at 05:22:21PM +0800, Herbert Xu wrote:
However, I really dislike the idea of shoehorning this into shash.
I know you really like shash, but I think there are some clear
benefits to be had by coupling this with ahash.
If we do this properly, we should be able to immediately use the
mb code with IPsec.  In the network stack, we already aggregate
the data prior to IPsec with GSO.  So at the boundary between
IPsec and the Crypto API, it's dividing chunks of data up to 64K
into 1500-byte packets and feeding them to crypto one at a time.

It really should be sending the whole chain of packets to us as
a unit.

Once we have a proper mb interface, we can fix that and immediately
get the benefit of mb hashing.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help