* CTR mode: Kconfig cyclic dependency
@ 2016-06-09 9:07 Stephan Mueller
2016-06-12 10:58 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Stephan Mueller @ 2016-06-09 9:07 UTC (permalink / raw)
To: herbert; +Cc: linux-crypto
Hi Herbert,
during the finalization of my patch set for converting the CTR DRBG over to
CTR AES, I ran into a Kconfig problem. Maybe you have an idea how to resolve
it.
As the CTR DRBG now uses the CTR mode, I added "select CRYPTO_CTR" to
CRYPTO_DRBG_CTR. This now lead to the following cyclic dependency:
crypto/Kconfig:1547:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
crypto/Kconfig:1547: symbol CRYPTO_DRBG_MENU is selected by
CRYPTO_RNG_DEFAULT
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
crypto/Kconfig:83: symbol CRYPTO_RNG_DEFAULT is selected by CRYPTO_SEQIV
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
crypto/Kconfig:255: symbol CRYPTO_SEQIV is selected by CRYPTO_CTR
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
crypto/Kconfig:286: symbol CRYPTO_CTR is selected by CRYPTO_DRBG_CTR
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
crypto/Kconfig:1566: symbol CRYPTO_DRBG_CTR depends on CRYPTO_DRBG_MENU
i.e. CRYPTO_RNG_DEFAULT -> CRYPTO_DRBG_MENU -> CRYPTO_CTR -> CRYPTO_SEQIV ->
CRYPTO_RNG_DEFAULT
Thanks
Stephan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CTR mode: Kconfig cyclic dependency
2016-06-09 9:07 CTR mode: Kconfig cyclic dependency Stephan Mueller
@ 2016-06-12 10:58 ` Herbert Xu
2016-06-12 11:05 ` Stephan Mueller
0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2016-06-12 10:58 UTC (permalink / raw)
To: Stephan Mueller; +Cc: linux-crypto
On Thu, Jun 09, 2016 at 11:07:06AM +0200, Stephan Mueller wrote:
>
> during the finalization of my patch set for converting the CTR DRBG over to
> CTR AES, I ran into a Kconfig problem. Maybe you have an idea how to resolve
> it.
Once I finish the skcipher conversion CTR will no longer need SEQIV.
If it's stopping your work right now I think you can just kill the
SEQIV selection by CTR right now since the only user IPsec doesn't
select CTR anyway.
Cheers,
--
Email: Herbert Xu <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] 3+ messages in thread
* Re: CTR mode: Kconfig cyclic dependency
2016-06-12 10:58 ` Herbert Xu
@ 2016-06-12 11:05 ` Stephan Mueller
0 siblings, 0 replies; 3+ messages in thread
From: Stephan Mueller @ 2016-06-12 11:05 UTC (permalink / raw)
To: Herbert Xu; +Cc: linux-crypto
Am Sonntag, 12. Juni 2016, 18:58:28 schrieb Herbert Xu:
Hi Herbert,
> On Thu, Jun 09, 2016 at 11:07:06AM +0200, Stephan Mueller wrote:
> > during the finalization of my patch set for converting the CTR DRBG over
> > to
> > CTR AES, I ran into a Kconfig problem. Maybe you have an idea how to
> > resolve it.
>
> Once I finish the skcipher conversion CTR will no longer need SEQIV.
> If it's stopping your work right now I think you can just kill the
> SEQIV selection by CTR right now since the only user IPsec doesn't
> select CTR anyway.
For now, I use depends on just to ensure a basic consistency. I think I can
wait for your skcipher conversion.
Thanks.
Ciao
Stephan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-12 11:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 9:07 CTR mode: Kconfig cyclic dependency Stephan Mueller
2016-06-12 10:58 ` Herbert Xu
2016-06-12 11:05 ` Stephan Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox