Pavel Roskin <pro...@gnu.org> wrote: > > However, it's disappointing that the caller needs to deal explicitly > with completions. The blkcipher API is much simpler. I would have hard > time advocating a patch to CCMP that makes the code more complicated.
You won't have to deal with completions if you allocate your algorithm with the CRYPTO_ALG_ASYNC bit off. Of course you won't be able to use most hardware accelerations either. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herb...@gondor.apana.org.au> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html