[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170223112052.GA14019@gondor.apana.org.au>
Date: Thu, 23 Feb 2017 19:20:53 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Paulo Flabiano Smorigo <pfsmorigo@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, benh@...nel.crashing.org,
paulus@...ba.org, mpe@...erman.id.au, davem@...emloft.net,
linux-crypto@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
pfsmorigo@...ux.vnet.ibm.com
Subject: Re: [PATCH 1/2] crypto: vmx - Use skcipher for cbc fallback
Paulo Flabiano Smorigo <pfsmorigo@...ux.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@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists