Re: [PATCH v3 00/15] x86: Support Key Locker

From
Bae, Chang Seok <hidden>
Date
2021-11-30 07:34:12
Also in
lkml
Reply to
Eric Biggers, 2021-11-30
On Nov 29, 2021, at 23:23, Eric Biggers [off-list ref] wrote:
On Tue, Nov 30, 2021 at 06:36:15AM +0000, Bae, Chang Seok wrote:
quoted
On Nov 29, 2021, at 19:27, Eric Biggers [off-list ref] wrote:
quoted
On Wed, Nov 24, 2021 at 12:06:45PM -0800, Chang S. Bae wrote:
quoted
== 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
Thread (30 messages) 30 messages, 5 authors, last reply 2021-12-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help