On Thu, May 10, 2012 at 1:16 PM, Herbert Xu [off-list ref] wrote:
On Thu, May 10, 2012 at 12:33:40PM +0300, Kasatkin, Dmitry wrote:
quoted
Hello Herbert,
CRYPTO_ALG_ASYNC is heavily used like:
crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC);
Where did you see that? There is no need to specify ASYNC in the
mask for shash since they're always synchronous.
Yes, that is why I wonder...
For example in security/keys/
But why do we need it for AHASH or ABLKCIPHER?
It is obvious without it that they can be async?
- Dmitry
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt