]> git.baikalelectronics.ru Git - kernel.git/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)
commit84c40a9e9e2d9e5320e68da619c074c0aed9cfb1
treec59d65017014dec1f0c01e6372c7a92f3284a5e9
parent687d96bedbe968aa318bd2889002a5240d93dcd5
[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