Dimitrios Siganos <dimitris@xxxxxxxxxxx> 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 ahash. Only the latter supports async operations. You can look at crypto/authenc.c for an example of how it's used. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <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