From: Ard Biesheuvel Date: Mon, 5 Sep 2016 11:58:44 +0000 (+0100) Subject: crypto: arm/ghash - change internal cra_name to "__ghash" X-Git-Tag: v4.9-rc1~53^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71f89917ff96c03191b19c2bb8cd587b61004e62;p=profile%2Fwearable%2Fplatform%2Fkernel%2Flinux-4.9-exynos9110.git crypto: arm/ghash - change internal cra_name to "__ghash" The fact that the internal synchrous hash implementation is called "ghash" like the publicly visible one is causing the testmgr code to misidentify it as an algorithm that requires testing at boottime. So rename it to "__ghash" to prevent this. Signed-off-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/arch/arm/crypto/ghash-ce-glue.c b/arch/arm/crypto/ghash-ce-glue.c index b88364a..7546b3c 100644 --- a/arch/arm/crypto/ghash-ce-glue.c +++ b/arch/arm/crypto/ghash-ce-glue.c @@ -138,7 +138,7 @@ static struct shash_alg ghash_alg = { .setkey = ghash_setkey, .descsize = sizeof(struct ghash_desc_ctx), .base = { - .cra_name = "ghash", + .cra_name = "__ghash", .cra_driver_name = "__driver-ghash-ce", .cra_priority = 0, .cra_flags = CRYPTO_ALG_TYPE_SHASH | CRYPTO_ALG_INTERNAL,