crypto: arm/ghash - change internal cra_name to "__ghash"
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 5 Sep 2016 11:58:44 +0000 (12:58 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:10:19 +0000 (21:10 +0800)
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/ghash-ce-glue.c

index b88364aa149a2aceddd2232dfed57f7bb981be9c..7546b3c024665ed0e1bf0ce3b94f99cff306189f 100644 (file)
@@ -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,