crypto: cryptd - Add support to access underlaying shash
authorHuang Ying <ying.huang@intel.com>
Thu, 6 Aug 2009 05:35:20 +0000 (15:35 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Aug 2009 05:35:20 +0000 (15:35 +1000)
commitace1366369841c9c3a9788f79baa4d73f1c53107
tree65d07ad456082a0e62a1d70fa91403c10d468e27
parent9382d97af586a47dad312765e35c61aa7ad7fcdd
crypto: cryptd - Add support to access underlaying shash

cryptd_alloc_ahash() will allocate a cryptd-ed ahash for specified
algorithm name. The new allocated one is guaranteed to be cryptd-ed
ahash, so the shash underlying can be gotten via cryptd_ahash_child().

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptd.c
include/crypto/cryptd.h