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

Commit 085751b9 authored by Benjamin Gilbert's avatar Benjamin Gilbert Committed by Herbert Xu
Browse files

crypto: api - Remove digest case from procfs show handler



Remove special handling of old-style digest algorithms from the procfs
show handler.

Signed-off-by: default avatarBenjamin Gilbert <bgilbert@cs.cmu.edu>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 2141b630
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -115,13 +115,6 @@ static int c_show(struct seq_file *m, void *p)
		seq_printf(m, "max keysize  : %u\n",
					alg->cra_cipher.cia_max_keysize);
		break;
		
	case CRYPTO_ALG_TYPE_DIGEST:
		seq_printf(m, "type         : digest\n");
		seq_printf(m, "blocksize    : %u\n", alg->cra_blocksize);
		seq_printf(m, "digestsize   : %u\n",
		           alg->cra_digest.dia_digestsize);
		break;
	case CRYPTO_ALG_TYPE_COMPRESS:
		seq_printf(m, "type         : compression\n");
		break;