On Fri, Jul 14, 2006 at 06:21:59PM +1200, Michal Ludvig wrote: > > +#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES_MODULE > +#define CONFIG_CRYPTO_DEV_PADLOCK_AES > +#endif
Just do it unconditionally. > +#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES > + tfm = crypto_alloc_tfm("aes-padlock", 0); > + if (tfm) { > + success++; > + crypto_free_tfm(tfm); > + } > +#endif It's easier to call crypto_alg_available. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html