diff options
author | Marek Vasut <marex@denx.de> | 2014-05-14 11:41:03 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-05-22 21:03:16 +0800 |
commit | efa59e2e916c816a667c7b972723d979c0faca1b (patch) | |
tree | 39dbb1ab6145a238c0d70e2ddf1a6223d6e44474 /drivers/crypto/sahara.c | |
parent | 1f4fe5a3fa38e68d29003697d230326ee59fad82 (diff) | |
download | linux-efa59e2e916c816a667c7b972723d979c0faca1b.tar.gz linux-efa59e2e916c816a667c7b972723d979c0faca1b.tar.bz2 linux-efa59e2e916c816a667c7b972723d979c0faca1b.zip |
crypto: sahara - 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/sahara.c')
-rw-r--r-- | drivers/crypto/sahara.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 07a5987ce67d..164e1ec624e3 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -728,7 +728,7 @@ static int sahara_aes_cbc_decrypt(struct ablkcipher_request *req) static int sahara_aes_cra_init(struct crypto_tfm *tfm) { - const char *name = tfm->__crt_alg->cra_name; + const char *name = crypto_tfm_alg_name(tfm); struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); ctx->fallback = crypto_alloc_ablkcipher(name, 0, |