All of lore.kernel.org
 help / color / mirror / Atom feed
* Async Crypto API
@ 2010-01-22  8:45 Dmitry Kasatkin
  2010-01-23  3:20 ` Herbert Xu
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Kasatkin @ 2010-01-22  8:45 UTC (permalink / raw)
  To: linux-crypto@vger.kernel.org

Hello,

I have one question about async api.

I work on AHASH driver and wonder about one thing.

while calculating hash, client might call many times

ahash_request_set_crypt(req, &sg, sha1, len);
crypto_ahash_update(req);
..
..
ahash_request_set_crypt(req, &sg, sha1, len);
crypto_ahash_finup(req);

right?

But because it is async and driver does not wait_for_completion,
 previous request may not be completed before client will call next update.

But what should be the behavior of the driver?

Thanks,
Dmitry


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-09  7:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22  8:45 Async Crypto API Dmitry Kasatkin
2010-01-23  3:20 ` Herbert Xu
2010-01-27  6:45   ` Dmitry Kasatkin
2010-01-29  9:03     ` Herbert Xu
2010-02-02 12:17   ` Dmitry Kasatkin
2010-02-02 12:26     ` Dmitry Kasatkin
2010-02-02 13:46       ` Dmitry Kasatkin
2010-02-09  7:32         ` Herbert Xu
2010-02-09  7:31     ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.