All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble with non modular ciphers
@ 2008-01-31  9:21 Andi Kleen
  2008-01-31 12:48 ` Sebastian Siewior
  2008-02-01  0:12 ` Herbert Xu
  0 siblings, 2 replies; 7+ messages in thread
From: Andi Kleen @ 2008-01-31  9:21 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto


FYI -- with a linus git kernel of yesterday or so I ran into a problem where 
one cipher module (CBC) was compiled in and the rest modular. dm_crypt 
could not resolve the cipher module until I turned it into a module.
I don't remember if cryptomanager was modular or not.

I don't have the exact configuration anymore unfortunately, but just
wanted to report the problem.

Also I found that cryptomanager is quite unhappy when CONFIG_KMOD
is not defined. Perhaps it should Kconfig select it?

-Andi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with non modular ciphers
  2008-01-31  9:21 Trouble with non modular ciphers Andi Kleen
@ 2008-01-31 12:48 ` Sebastian Siewior
  2008-01-31 12:49   ` Andi Kleen
  2008-02-01  0:12 ` Herbert Xu
  1 sibling, 1 reply; 7+ messages in thread
From: Sebastian Siewior @ 2008-01-31 12:48 UTC (permalink / raw)
  To: Andi Kleen; +Cc: herbert, linux-crypto

* Andi Kleen | 2008-01-31 10:21:24 [+0100]:

>FYI -- with a linus git kernel of yesterday or so I ran into a problem where 
>one cipher module (CBC) was compiled in and the rest modular. dm_crypt 
>could not resolve the cipher module until I turned it into a module.
and dm_crypt itself was a module?

>I don't remember if cryptomanager was modular or not.
>From what I see, if CBC is in kernel than cryptomanager is also compiled
in.

>Also I found that cryptomanager is quite unhappy when CONFIG_KMOD
>is not defined. Perhaps it should Kconfig select it?
If you disable modules, than why should one module enable it?

>-Andi

Sebastian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with non modular ciphers
  2008-01-31 12:48 ` Sebastian Siewior
@ 2008-01-31 12:49   ` Andi Kleen
  2008-01-31 13:12     ` Sebastian Siewior
  0 siblings, 1 reply; 7+ messages in thread
From: Andi Kleen @ 2008-01-31 12:49 UTC (permalink / raw)
  To: Sebastian Siewior; +Cc: herbert, linux-crypto

On Thursday 31 January 2008 13:48:34 Sebastian Siewior wrote:
> * Andi Kleen | 2008-01-31 10:21:24 [+0100]:
> 
> >FYI -- with a linus git kernel of yesterday or so I ran into a problem where 
> >one cipher module (CBC) was compiled in and the rest modular. dm_crypt 
> >could not resolve the cipher module until I turned it into a module.
> and dm_crypt itself was a module?

I don't remember to be honest. Is it important?

> >Also I found that cryptomanager is quite unhappy when CONFIG_KMOD
> >is not defined. Perhaps it should Kconfig select it?
> If you disable modules, than why should one module enable it?

CONFIG_KMOD is not modules (that is CONFIG_MODULES), but module
autoloading.

-Andi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with non modular ciphers
  2008-01-31 12:49   ` Andi Kleen
@ 2008-01-31 13:12     ` Sebastian Siewior
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastian Siewior @ 2008-01-31 13:12 UTC (permalink / raw)
  To: Andi Kleen; +Cc: herbert, linux-crypto

* Andi Kleen | 2008-01-31 13:49:54 [+0100]:

>On Thursday 31 January 2008 13:48:34 Sebastian Siewior wrote:
>> * Andi Kleen | 2008-01-31 10:21:24 [+0100]:
>> 
>> >FYI -- with a linus git kernel of yesterday or so I ran into a problem where 
>> >one cipher module (CBC) was compiled in and the rest modular. dm_crypt 
>> >could not resolve the cipher module until I turned it into a module.
>> and dm_crypt itself was a module?
>
>I don't remember to be honest. Is it important?
It could be possible that dm_crypt is trying to use the crypto API
before it is initialized, but I doubt it.

>
>> >Also I found that cryptomanager is quite unhappy when CONFIG_KMOD
>> >is not defined. Perhaps it should Kconfig select it?
>> If you disable modules, than why should one module enable it?
>
>CONFIG_KMOD is not modules (that is CONFIG_MODULES), but module
>autoloading.
Ach, you right. This problem has every user of try_then_request_module()
and I don't see anybody selecting CONFIG_KMOD in the kernel.

>-Andi
Sebastian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with non modular ciphers
  2008-01-31  9:21 Trouble with non modular ciphers Andi Kleen
  2008-01-31 12:48 ` Sebastian Siewior
@ 2008-02-01  0:12 ` Herbert Xu
  2008-02-04 18:56   ` Async Linux NETKEY (IPSec Stack) Loc Ho
  1 sibling, 1 reply; 7+ messages in thread
From: Herbert Xu @ 2008-02-01  0:12 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-crypto

On Thu, Jan 31, 2008 at 10:21:24AM +0100, Andi Kleen wrote:
> 
> FYI -- with a linus git kernel of yesterday or so I ran into a problem where 
> one cipher module (CBC) was compiled in and the rest modular. dm_crypt 
> could not resolve the cipher module until I turned it into a module.
> I don't remember if cryptomanager was modular or not.
> 
> I don't have the exact configuration anymore unfortunately, but just
> wanted to report the problem.

OK, I couldn't find anything bad from looking through the Kconfig.
What happens if you try to build it in again?

> Also I found that cryptomanager is quite unhappy when CONFIG_KMOD
> is not defined. Perhaps it should Kconfig select it?

Good point.  Yes we should do that.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Async Linux NETKEY (IPSec Stack)
  2008-02-01  0:12 ` Herbert Xu
@ 2008-02-04 18:56   ` Loc Ho
  2008-02-04 22:37     ` Herbert Xu
  0 siblings, 1 reply; 7+ messages in thread
From: Loc Ho @ 2008-02-04 18:56 UTC (permalink / raw)
  To: 'Herbert Xu'; +Cc: linux-crypto

Hi Herbert,

I just want to check on the status of Linux NETKEY change to support
asynchronous Linux CryptoAPI interface. Have ESP, AH, and AEAD changes to
make use of async API?

In addition, I submitted async HASH and DIGEST patch over a week ago. Any
comments and whether it will be accepted?

Thanks,
Loc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Async Linux NETKEY (IPSec Stack)
  2008-02-04 18:56   ` Async Linux NETKEY (IPSec Stack) Loc Ho
@ 2008-02-04 22:37     ` Herbert Xu
  0 siblings, 0 replies; 7+ messages in thread
From: Herbert Xu @ 2008-02-04 22:37 UTC (permalink / raw)
  To: Loc Ho; +Cc: linux-crypto

On Mon, Feb 04, 2008 at 10:56:27AM -0800, Loc Ho wrote:
> 
> I just want to check on the status of Linux NETKEY change to support
> asynchronous Linux CryptoAPI interface. Have ESP, AH, and AEAD changes to
> make use of async API?
> 
> In addition, I submitted async HASH and DIGEST patch over a week ago. Any
> comments and whether it will be accepted?

Sorry but I'm currently travelling so I can't give your patches the
proper attention.  I'll look at them as soon as things quiten down
in a couple of weeks.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-04 22:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31  9:21 Trouble with non modular ciphers Andi Kleen
2008-01-31 12:48 ` Sebastian Siewior
2008-01-31 12:49   ` Andi Kleen
2008-01-31 13:12     ` Sebastian Siewior
2008-02-01  0:12 ` Herbert Xu
2008-02-04 18:56   ` Async Linux NETKEY (IPSec Stack) Loc Ho
2008-02-04 22:37     ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.