On Wed, Jan 18, 2012 at 5:13 PM, David Howells <dhowells@xxxxxxxxxx> wrote: > Kasatkin, Dmitry <dmitry.kasatkin@xxxxxxxxx> wrote: > >> Yes. it is clear... >> Would it be possible to have pass data (uncompleted) hash? > > Yes, provided it's not finalised. Also, with the current code it would have > to be a shash, but I think I should be able to support the passing in of an > async hash by exporting the state from that and importing the state into a > shash using the crypto layer export and import functions. > I thought about export/import. But I think export/Import is hash driver implementation specific... Cannot use ahash state for shash... As you said in repose to later patch, you could provide some function to build a final metadata buffer out of signature to finalize the hash... - Dmitry > David -- 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