Thread (5 messages) 5 messages, 2 authors, 2012-05-10

Re: CRYPTO_ALG_ASYNC

From: Kasatkin, Dmitry <hidden>
Date: 2012-05-10 10:31:11

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help