diff options
author | Marek Vasut <marex@denx.de> | 2014-05-14 05:40:59 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-05-22 09:03:14 -0400 |
commit | bd3acdaa4349a906a42acca029ed062b4ba88bd3 (patch) | |
tree | b0287601ed421d773ce1ab555a5ed6a5921ee3df /drivers/crypto/mv_cesa.c | |
parent | b4168a19d9f8611316d59f078104734d825c812a (diff) |
crypto: cesa - 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/mv_cesa.c')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 8d1e6f8e9e9c..1549db76982e 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -843,7 +843,7 @@ static int mv_hash_setkey(struct crypto_ahash *tfm, const u8 * key, | |||
843 | static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name, | 843 | static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name, |
844 | enum hash_op op, int count_add) | 844 | enum hash_op op, int count_add) |
845 | { | 845 | { |
846 | const char *fallback_driver_name = tfm->__crt_alg->cra_name; | 846 | const char *fallback_driver_name = crypto_tfm_alg_name(tfm); |
847 | struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); | 847 | struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); |
848 | struct crypto_shash *fallback_tfm = NULL; | 848 | struct crypto_shash *fallback_tfm = NULL; |
849 | struct crypto_shash *base_hash = NULL; | 849 | struct crypto_shash *base_hash = NULL; |