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-27 07:19:00

On Thu, Jan 27, 2011 at 08:47:40AM +0200, Dmitry Kasatkin wrote:
No.no.. That is not a flag for particular request...
The flag is how total hash will be handled...

FINUP flag means that client will call finup().
So it will be

update()
update()
...
update()
finup()


not
update()
...
update()
final()...

In other words...
update() means that it will be more data coming (like MSG_MORE)
finup() is just final update...

Basically driver on update() will not do extra buffering..

Is it clear now?
No I have absolutely no idea what you're saying.  Can you give
an actual example of what the user is doing and what you want to
do in the driver?

Thanks,
-- 
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