Re: hash finup() issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux