On Thu, May 10, 2012 at 1:16 PM, Herbert Xu <herb...@gondor.apana.org.au> wrote:
> On Thu, May 10, 2012 at 12:33:40PM +0300, Kasatkin, Dmitry wrote:
>> 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 <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

Reply via email to