Re: [PATCH 5/9] block: support diskcipher
From: boojin.kim
Date: Tue Aug 27 2019 - 22:21:02 EST
On Tue, Aug 27, 2019 at 05:33:33PM +0900, boojin.kim wrote:
>
> Hi Boojin,
>
> I think the important thing to realize here is that there are a large
> number of hardware devices for which the keyslot manager *is* needed.
> And from the upstream kernel's perspective, supporting two different
> schemes for supporting the inline encryption feature is more
> complexity than just supporting one which is general enough to support
> a wider variety of hardware devices.
>
> If you want somethig which is only good for the hardware platform you
> are charged to support, that's fine if it's only going to be in a
> Samsung-specific kernel. But if your goal is to get something that
> works upstream, especially if it requires changes in core layers of
> the kernel, it's important that it's general enough to support most,
> if not all, if the hardware devices in the industry.
>
> Regards,
I understood your reply.
But, Please consider the diskcipher isn't just for FMP.
The UFS in Samsung SoC also has UFS ICE. This UFS ICE can be registered
as an algorithm of diskcipher like FMP.
Following is my opinion to introduce diskcipher.
I think the common feature of ICE like FMP and UFS ICE,
is 'exposing cipher text to storage".
And, Crypto test is also important for ICE. Diskcipher supports
the common feature of ICE.
I think specific functions for each ICE such as the key control of UFS ICE
and the writing crypto table of FMP can be processed at algorithm level.
Thanks for your reply.
Boojin Kim.