projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5837af0
)
crypto: padlock - tfm->__crt_alg->cra_name directly
author
Marek Vasut
<marex@denx.de>
Wed, 14 May 2014 09:41:02 +0000
(11:41 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 22 May 2014 13:03:16 +0000
(21:03 +0800)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-sha.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/padlock-sha.c
b/drivers/crypto/padlock-sha.c
index 9266c0e2549297cfd403b85556ac86ae728f6f77..bace885634f244b405113477010f2719351e997d 100644
(file)
--- a/
drivers/crypto/padlock-sha.c
+++ b/
drivers/crypto/padlock-sha.c
@@
-211,7
+211,7
@@
static int padlock_sha256_final(struct shash_desc *desc, u8 *out)
static int padlock_cra_init(struct crypto_tfm *tfm)
{
struct crypto_shash *hash = __crypto_shash_cast(tfm);
- const char *fallback_driver_name =
tfm->__crt_alg->cra_name
;
+ const char *fallback_driver_name =
crypto_tfm_alg_name(tfm)
;
struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm);
struct crypto_shash *fallback_tfm;
int err = -ENOMEM;