crypto: api - Call type show function before legacy for proc
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Nov 2008 06:39:16 +0000 (14:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:01:32 +0000 (11:01 +1100)
This patch makes /proc/crypto call the type-specific show function
if one is present before calling the legacy show functions for
cipher/digest/compress.  This allows us to reuse the type values
for those legacy types.  In particular, hash and digest will share
one type value while shash is phased in as the default hash type.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found