Re: [PATCH 0/6] Add Additional algo mode for inline encryption

From: Mikulas Patocka
Date: Wed Jul 31 2024 - 08:50:18 EST




On Tue, 30 Jul 2024, Md Sadre Alam wrote:

> This series of patches add additional modes for inline encryption
>
> This series of patches depends on [1] Add inline encryption support for dm-crypt
>
> [1]: https://lore.kernel.org/all/b45d3b40-2587-04dc-9601-a9251dacf806@xxxxxxxxxxxxxxxxxx/T/#ma01f08a941107217c93680fa25e96e8d406df790
>
> These patches tested on IPQ9574 with eMMC ICE for raw partition
> encryption/decryption.

Hi

I discussed it with Milan Broz <gmazyland@xxxxxxxxx> and we concluded that
there is no need to bloat dm-crypt with this logic.

We believe that you should create your own target (like
"dm-inline-crypt"), it would work like a linear target and it will attach
encryption requests to the bios that it processes.

Mikulas