Re: [RFC PATCH 23/28] algif: Remove hash_sendpage*()

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2023-03-25 06:01:12
Also in
linux-crypto, linux-fsdevel, lkml
Reply to
David Howells, 2023-03-24
On Fri, Mar 24, 2023 at 04:47:50PM +0000, David Howells wrote:
I must be missing something, I think.  What's particularly optimal about the
code in hash_sendpage() but not hash_sendmsg()?  Is it that the former uses
finup/digest, but the latter ony does update+final?
A lot of hardware hashes can't perform partial updates, so they
will always fall back to software unless you use finup/digest.

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
Thread (54 messages) 54 messages, 7 authors, last reply 2023-03-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help