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

Commit bb402f16 authored by Lee Nipper's avatar Lee Nipper Committed by Herbert Xu
Browse files

crypto: ahash - Fix digest size in /proc/crypto



crypto_ahash_show changed to use cra_ahash for digestsize reference.

Signed-off-by: default avatarLee Nipper <lee.nipper@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8eb2dfac
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -214,7 +214,7 @@ static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
	seq_printf(m, "async        : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ?
	seq_printf(m, "async        : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ?
					     "yes" : "no");
					     "yes" : "no");
	seq_printf(m, "blocksize    : %u\n", alg->cra_blocksize);
	seq_printf(m, "blocksize    : %u\n", alg->cra_blocksize);
	seq_printf(m, "digestsize   : %u\n", alg->cra_hash.digestsize);
	seq_printf(m, "digestsize   : %u\n", alg->cra_ahash.digestsize);
}
}


const struct crypto_type crypto_ahash_type = {
const struct crypto_type crypto_ahash_type = {