Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f89917 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Herbert Xu
Browse files

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: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0bec9057
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -138,7 +138,7 @@ static struct shash_alg ghash_alg = {
	.setkey			= ghash_setkey,
	.setkey			= ghash_setkey,
	.descsize		= sizeof(struct ghash_desc_ctx),
	.descsize		= sizeof(struct ghash_desc_ctx),
	.base			= {
	.base			= {
		.cra_name	= "ghash",
		.cra_name	= "__ghash",
		.cra_driver_name = "__driver-ghash-ce",
		.cra_driver_name = "__driver-ghash-ce",
		.cra_priority	= 0,
		.cra_priority	= 0,
		.cra_flags	= CRYPTO_ALG_TYPE_SHASH | CRYPTO_ALG_INTERNAL,
		.cra_flags	= CRYPTO_ALG_TYPE_SHASH | CRYPTO_ALG_INTERNAL,