projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d207a38
)
crypto: ccp - tfm->__crt_alg->cra_name directly
author
Marek Vasut
<marex@denx.de>
Wed, 14 May 2014 09:40:58 +0000
(11:40 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 22 May 2014 13:03:13 +0000
(21:03 +0800)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto-aes-xts.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/ccp/ccp-crypto-aes-xts.c
b/drivers/crypto/ccp/ccp-crypto-aes-xts.c
index 0237ab58f2427e75b3fb4b61eb505d6d26170bf3..0cc5594b7de3c95710eaebc8535f82d240941ce7 100644
(file)
--- a/
drivers/crypto/ccp/ccp-crypto-aes-xts.c
+++ b/
drivers/crypto/ccp/ccp-crypto-aes-xts.c
@@
-191,12
+191,12
@@
static int ccp_aes_xts_cra_init(struct crypto_tfm *tfm)
ctx->complete = ccp_aes_xts_complete;
ctx->u.aes.key_len = 0;
- fallback_tfm = crypto_alloc_ablkcipher(
tfm->__crt_alg->cra_name
, 0,
+ fallback_tfm = crypto_alloc_ablkcipher(
crypto_tfm_alg_name(tfm)
, 0,
CRYPTO_ALG_ASYNC |
CRYPTO_ALG_NEED_FALLBACK);
if (IS_ERR(fallback_tfm)) {
pr_warn("could not load fallback driver %s\n",
-
tfm->__crt_alg->cra_name
);
+
crypto_tfm_alg_name(tfm)
);
return PTR_ERR(fallback_tfm);
}
ctx->u.aes.tfm_ablkcipher = fallback_tfm;