[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210528070511.GA22601@gondor.apana.org.au>
Date: Fri, 28 May 2021 15:05:11 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Corentin Labbe <clabbe@...libre.com>
Cc: davem@...emloft.net, linus.walleij@...aro.org,
linux@...linux.org.uk, robh+dt@...nel.org,
ulli.kroll@...glemail.com, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] crypto: Add sl3516 crypto engine
On Tue, May 18, 2021 at 03:16:52PM +0000, Corentin Labbe wrote:
>
> +static int sl3516_ce_cipher_fallback(struct skcipher_request *areq)
> +{
> + struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq);
> + struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm);
> + struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
> + struct skcipher_alg *alg = crypto_skcipher_alg(tfm);
> + struct sl3516_ce_alg_template *algt;
> + int err;
> +
> + algt = container_of(alg, struct sl3516_ce_alg_template, alg.skcipher);
> + algt->stat_fb++;
This fails to build if CRYPTO_DEV_SL3516_DEBUG is off.
Cheers,
--
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