linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* crypto ahash error handling
@ 2010-11-08  8:48 Dmitry Kasatkin
  2010-11-10 12:27 ` Herbert Xu
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Kasatkin @ 2010-11-08  8:48 UTC (permalink / raw)
  To: linux-crypto@vger.kernel.org

Hello,

When using crypto ahash API, is it necessary/mandatory to call
crypto_ahash_final() if crypto_ahash_update() returns error...

Basically it might happen after several calls while calculating hash if
HW error happens.
It is not possible to continue hash calculation. it is necessary to
reset HW and start whole hash again..

Any comments?

Thanks,
Dmitry

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

end of thread, other threads:[~2010-11-12 11:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08  8:48 crypto ahash error handling Dmitry Kasatkin
2010-11-10 12:27 ` Herbert Xu
2010-11-10 14:54   ` Dmitry Kasatkin
2010-11-11 16:17     ` Herbert Xu
2010-11-11 18:11       ` Dmitry Kasatkin
2010-11-12  0:05         ` Herbert Xu
2010-11-12 11:30           ` Dmitry Kasatkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).