Re: [PATCH RFC v5 4/4] crypto: add tests vectors for RSA

From: Herbert Xu
Date: Tue Jun 16 2015 - 02:29:26 EST


On Mon, Jun 15, 2015 at 11:26:58PM -0700, Tadeusz Struk wrote:
> On 06/15/2015 05:37 PM, Herbert Xu wrote:
> >> config CRYPTO_MANAGER
> >> > tristate "Cryptographic algorithm manager"
> >> > select CRYPTO_MANAGER2
> >> > + select CRYPTO_AKCIPHER
> > Please add this to CRYPTO_MANAGER2 instead.
>
> This causes a recursive dependency error
>
> crypto/Kconfig:115:error: recursive dependency detected!
> crypto/Kconfig:115: symbol CRYPTO_MANAGER2 default value contains CRYPTO_ALGAPI
> crypto/Kconfig:34: symbol CRYPTO_ALGAPI is selected by CRYPTO_AKCIPHER
> crypto/Kconfig:94: symbol CRYPTO_AKCIPHER is selected by CRYPTO_MANAGER2

That's because you need to split AKCIPHER into AKCIPHER and
AKCIPHER2 just like every other type.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/