Re: [patch 08/32] cryptoloop: Select CRYPTO_CBC

Rene Herman
2006-12-09T06:33:08Z

Chris Wright wrote:

> -stable review patch. If anyone has any objections, please let us know.
> ------------------
>
> From: Herbert Xu <herbert@gondor.apana.org.au>
>
> As CBC is the default chaining method for cryptoloop, we should select
> it from cryptoloop to ease the transition.
>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
> ---
> drivers/block/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-2.6.19.orig/drivers/block/Kconfig
> +++ linux-2.6.19/drivers/block/Kconfig
> @@ -305,6 +305,7 @@ config BLK_DEV_LOOP
> config BLK_DEV_CRYPTOLOOP
> tristate "Cryptoloop Support"
> select CRYPTO
> + select CRYPTO_CBC
> depends on BLK_DEV_LOOP
> ---help---
> Say Y here if you want to be able to use the ciphers that are
>

dm-crypt needs CBC in the same manner -- normal (via howto) use of
cryptsetup doesn't work otherwise, same as with cryptoloop.

Rene.