]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite90d152098e3e8b8e985e95ba73550aad6d4d224
tree5bf9df62223651922ff8ff646bfe9a275425bc27
parente59c8fa1aeb2e1f8dbeee0a3d0cdd86d1ba4eb37
crypto: api - Call type show function before legacy for proc

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>
crypto/proc.c