[CRYPTO] api: Add crypto_comp and crypto_has_*
commitfce32d70ba834129b164c40c2d4260e5a7a7d850
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 Aug 2006 07:35:45 +0000 (26 17:35 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:46:21 +0000 (21 11:46 +1000)
tree25076d25f1b95c93b276db253bc8cd301bae6289
parent35058687912aa2f0b4554383cc10be4e0683b9a4
[CRYPTO] api: Add crypto_comp and crypto_has_*

This patch adds the crypto_comp type to complete the compile-time checking
conversion.  The functions crypto_has_alg and crypto_has_cipher, etc. are
also added to replace crypto_alg_available.

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