Messages in this thread | | | Date | Thu, 23 Feb 2017 19:20:53 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 1/2] crypto: vmx - Use skcipher for cbc fallback |
| |
Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com> wrote: > > fallback = > - crypto_alloc_blkcipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); > + crypto_alloc_skcipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK);
You need to add CRYPTO_ALG_ASYNC to the mask in order to ensure that you get a sync algorithm.
Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |