On Wed, 2009-07-22 at 22:05 +0200, Andreas Oberritter wrote: > If at least one of arc4 and ecb is built as a module, then autoloading > of the algorithm fails, because crypto_alloc_blkcipher tries to > request the module "ecb(arc4)", which does not exist. > > This patch was made against 2.6.30, but should apply cleanly on top of > the wireless-2.6 git tree. > + /* > + * crypto_alloc_blkcipher() will request the > + * module "ecb(arc4)", which does not exist. > + */ > +#ifdef CONFIG_CRYPTO_ARC4_MODULE > + request_module("arc4"); > +#endif > +#ifdef CONFIG_CRYPTO_ECB_MODULE > + request_module("ecb"); > +#endif > + > local->wep_tx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, > CRYPTO_ALG_ASYNC); But it will absolutely not _be_ applied. Fix the crypto layer instead if it has a problem loading modules. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part