]> err.no Git - linux-2.6/commit
[CRYPTO] padlock: Convert padlock-sha to use crypto_hash
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 Aug 2006 08:34:10 +0000 (18:34 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:46:22 +0000 (11:46 +1000)
commit6010439f47e6b308c031dad7d99686030ef942dd
treec59d65017014dec1f0c01e6372c7a92f3284a5e9
parente4d5b79c661c7cfca9d8d5afd040a295f128d3cb
[CRYPTO] padlock: Convert padlock-sha to use crypto_hash

This patch converts padlock-sha to use crypto_hash for its fallback.
It also changes the fallback selection to use selection by type instead
of name.  This is done through the new CRYPTO_ALG_NEED_FALLBACK bit,
which is set if and only if an algorithm needs a fallback of the same
type.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-sha.c
include/linux/crypto.h