[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YaXRf2B+Gz6os3g5@sol.localdomain>
Date: Mon, 29 Nov 2021 23:23:43 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: "Bae, Chang Seok" <chang.seok.bae@...el.com>
Cc: Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...e.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"mingo@...nel.org" <mingo@...nel.org>,
"Lutomirski, Andy" <luto@...nel.org>,
"x86@...nel.org" <x86@...nel.org>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"Williams, Dan J" <dan.j.williams@...el.com>,
"Gairuboyina, Charishma1" <charishma1.gairuboyina@...el.com>,
"Dwarakanath, Kumar N" <kumar.n.dwarakanath@...el.com>,
"Krishnakumar, Lalithambika" <lalithambika.krishnakumar@...el.com>,
"Shankar, Ravi V" <ravi.v.shankar@...el.com>
Subject: Re: [PATCH v3 00/15] x86: Support Key Locker
On Tue, Nov 30, 2021 at 06:36:15AM +0000, Bae, Chang Seok wrote:
> On Nov 29, 2021, at 19:27, Eric Biggers <ebiggers@...nel.org> wrote:
> > On Wed, Nov 24, 2021 at 12:06:45PM -0800, Chang S. Bae wrote:
> >>
> >> == Non Use Cases ==
> >>
> >> Bare metal disk encryption is the only use case intended by these patches.
> >
> > If that's the case, why are so many encryption modes being added (ECB, CTR, CBC,
> > and XTS)? Wouldn't just XTS be sufficient?
>
> Right, it would reduce the crypt library changes significantly. But it is
> clueless whether XTS is sufficient to support DM-crypt, because a user may
> select the kernel’s crypto API via ‘capi:', [1].
>
Just because dm-crypt allows you to create a ECB or CTR encrypted disk does not
mean that it is a good idea.
- Eric
Powered by blists - more mailing lists