From: Milan Broz Subject: [PATCH] dm-crypt: add Kconfig switch to enable authenticated mode. Date: Thu, 4 May 2017 17:07:25 +0200 Message-ID: <20170504150725.9737-1-gmazyland@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com Cc: Milan Broz List-Id: dm-devel.ids The switch just enables dm-integrity module but it makes configuration more logic and user friendly. Signed-off-by: Milan Broz --- 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