All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dm-crypt: add Kconfig switch to enable authenticated mode.
@ 2017-05-04 15:07 Milan Broz
  2017-05-04 16:01 ` Mike Snitzer
  0 siblings, 1 reply; 2+ messages in thread
From: Milan Broz @ 2017-05-04 15:07 UTC (permalink / raw)
  To: dm-devel; +Cc: Milan Broz

The switch just enables dm-integrity module but it makes
configuration more logic and user friendly.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
---
 drivers/md/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 3e96fccbbdb2..134f885c6be1 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -285,6 +285,17 @@ config DM_CRYPT
 
 	  If unsure, say N.
 
+config DM_CRYPT_AEAD
+	tristate "Crypt target support for authenticated disk encrytion modes"
+	depends on DM_CRYPT
+	select DM_INTEGRITY
+	---help---
+	  This option enables dm-integrity target that is required in dm-crypt
+	  for support of authenticated encryption modes (it enables additional
+	  per-sector metadata for authentication tags).
+
+	  If unsure, say N.
+
 config DM_SNAPSHOT
        tristate "Snapshot target"
        depends on BLK_DEV_DM
-- 
2.11.0

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

* Re: dm-crypt: add Kconfig switch to enable authenticated mode.
  2017-05-04 15:07 [PATCH] dm-crypt: add Kconfig switch to enable authenticated mode Milan Broz
@ 2017-05-04 16:01 ` Mike Snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2017-05-04 16:01 UTC (permalink / raw)
  To: Milan Broz; +Cc: dm-devel

On Thu, May 04 2017 at 11:07am -0400,
Milan Broz <gmazyland@gmail.com> wrote:

> The switch just enables dm-integrity module but it makes
> configuration more logic and user friendly.
> 
> Signed-off-by: Milan Broz <gmazyland@gmail.com>
> ---
>  drivers/md/Kconfig | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
> index 3e96fccbbdb2..134f885c6be1 100644
> --- a/drivers/md/Kconfig
> +++ b/drivers/md/Kconfig
> @@ -285,6 +285,17 @@ config DM_CRYPT
>  
>  	  If unsure, say N.
>  
> +config DM_CRYPT_AEAD
> +	tristate "Crypt target support for authenticated disk encrytion modes"
> +	depends on DM_CRYPT
> +	select DM_INTEGRITY
> +	---help---
> +	  This option enables dm-integrity target that is required in dm-crypt
> +	  for support of authenticated encryption modes (it enables additional
> +	  per-sector metadata for authentication tags).
> +
> +	  If unsure, say N.
> +
>  config DM_SNAPSHOT
>         tristate "Snapshot target"
>         depends on BLK_DEV_DM
> -- 
> 2.11.0

For the benefit of dm-devl: we've decided to _not_ make this change.

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

end of thread, other threads:[~2017-05-04 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 15:07 [PATCH] dm-crypt: add Kconfig switch to enable authenticated mode Milan Broz
2017-05-04 16:01 ` Mike Snitzer

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.