Skip to content

Commit

Permalink
crypto: dcp - tfm->__crt_alg->cra_name directly
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Marek Vasut authored and Herbert Xu committed May 22, 2014
1 parent bd3acda commit 2231204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/mxs-dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key,

static int mxs_dcp_aes_fallback_init(struct crypto_tfm *tfm)
{
const char *name = tfm->__crt_alg->cra_name;
const char *name = crypto_tfm_alg_name(tfm);
const uint32_t flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_NEED_FALLBACK;
struct dcp_async_ctx *actx = crypto_tfm_ctx(tfm);
struct crypto_ablkcipher *blk;
Expand Down

0 comments on commit 2231204

Please sign in to comment.