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

Herbert Xu
2024-06-06T02:00:10Z

On Wed, Jun 05, 2024 at 12:14:10PM -0700, Eric Biggers wrote:
>
> This would at most apply to AH, not to ESP. Is AH commonly used these days?

No AH is completely useless. However, this applies perfectly to
ESP, in conjunction with authenc. Obviously we would need to add
request linking to authenc (AEAD) as well so that it can pass it
along to sha.

BTW, does any of this interleaving apply to AES? If so we should
explore adding request linking to skcipher as well.

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt