Re: Question about async operations

2010-03-04 Thread Herbert Xu
Dimitrios Siganos wrote: > Hi, > > I have a question about the asynchronous characteristics of the crypto api. > > 1) crypto_alloc_hash("sha1", 0, CRYPTO_ALG_ASYNC), does this code create > an asynchronous sha1 transform? crypto_alloc_hash is obsolete. New code should either use shash or ahas

Question about async operations

2010-03-04 Thread Dimitrios Siganos
Hi, I have a question about the asynchronous characteristics of the crypto api. 1) crypto_alloc_hash("sha1", 0, CRYPTO_ALG_ASYNC), does this code create an asynchronous sha1 transform? 2) crypto_alloc_hash("sha1", 0, 0), does this code create a synchronous sha1 transform? 3) Is synchronous