[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C16B6863-5D85-443B-A186-0632A6045E5E@intel.com>
Date: Tue, 30 Nov 2021 07:34:07 +0000
From: "Bae, Chang Seok" <chang.seok.bae@...el.com>
To: Eric Biggers <ebiggers@...nel.org>
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 Nov 29, 2021, at 23:23, Eric Biggers <ebiggers@...nel.org> wrote:
> 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.
Okay, it sounds like at least ECB and CTR supports are not practically needed.
I have no problem trimming down to exclude them.
Thanks,
Chang
Powered by blists - more mailing lists