Thread (6 messages) 6 messages, 2 authors, 2011-01-27

Re: hash finup() issue

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2011-01-25 23:29:20

On Tue, Jan 25, 2011 at 03:44:47PM +0200, Dmitry Kasatkin wrote:
What we have done in our system is introduced a new flag which is set to
request.
flags |= CRYPTO_TFM_REQ_USE_FINUP;
ahash_request_set_callback(req, flags,  tcrypt_complete, &tresult);
We don't need a flag for this, we just need to optimise the
user-interface code to actually use finup when MSG_MORE is not
set.

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help