diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-05 12:58:44 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-07 21:10:19 +0800 |
commit | 71f89917ff96c03191b19c2bb8cd587b61004e62 (patch) | |
tree | 6d255b7b90ac0ac1d5b90b73c926a48d73dcd1f4 | |
parent | 0bec90571cb95afee80beb98c12cd82bd9136ac6 (diff) | |
download | op-kernel-dev-71f89917ff96c03191b19c2bb8cd587b61004e62.zip op-kernel-dev-71f89917ff96c03191b19c2bb8cd587b61004e62.tar.gz |
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | arch/arm/crypto/ghash-ce-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |