summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mxs-dcp.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-05-14 11:41:00 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-05-22 15:03:15 +0200
commit2231204b5476d644702da662826b93ed21f67f63 (patch)
tree739ca9e69da9982f8fe95fc511cb029356982be9 /drivers/crypto/mxs-dcp.c
parentcrypto: cesa - tfm->__crt_alg->cra_name directly (diff)
downloadlinux-2231204b5476d644702da662826b93ed21f67f63.tar.xz
linux-2231204b5476d644702da662826b93ed21f67f63.zip
crypto: dcp - tfm->__crt_alg->cra_name directly
Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mxs-dcp.c')
-rw-r--r--drivers/crypto/mxs-dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c
index e48f0b87c383..b5f7e6db24d4 100644
--- a/drivers/crypto/mxs-dcp.c
+++ b/drivers/crypto/mxs-dcp.c
@@ -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;