Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-06 Thread Christoph Hellwig
On Wed, Jun 06, 2018 at 10:04:14AM +, Ladvine D Almeida wrote: > The idea is to make use of the existing utilities like dmsetup to configure > the keys, mapping etc. So fix the utilities to support your encryption instead of implementing kernel-level shim code. > TCG Opal/Opalite is FDE solu

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-06 Thread Ladvine D Almeida
On Friday 01 June 2018 09:16 AM, Christoph Hellwig wrote: > On Wed, May 30, 2018 at 02:52:07PM +, Ladvine D Almeida wrote: >> when the optional argument "perform_inline_encrypt" is set, we are not >> unconditionally sending the bio >> to the block devices. The steps are explained below: >> 1.

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-05 Thread Ladvine D Almeida
On Friday 01 June 2018 03:46 PM, Eric Biggers wrote: > Hi Ladvine, > > On Wed, May 30, 2018 at 02:52:07PM +, Ladvine D Almeida wrote: >> On Monday 28 May 2018 05:33 PM, Milan Broz wrote: >>> On 05/28/2018 03:01 PM, Ladvine D Almeida wrote: This patch adds new option -- perform_inl

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-01 Thread Eric Biggers
Hi Ladvine, On Wed, May 30, 2018 at 02:52:07PM +, Ladvine D Almeida wrote: > On Monday 28 May 2018 05:33 PM, Milan Broz wrote: > > On 05/28/2018 03:01 PM, Ladvine D Almeida wrote: > >> This patch adds new option > >> -- perform_inline_encrypt > >> that set the option inside dmcrypt to use

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-01 Thread Christoph Hellwig
On Wed, May 30, 2018 at 02:52:07PM +, Ladvine D Almeida wrote: > when the optional argument "perform_inline_encrypt" is set, we are not > unconditionally sending the bio > to the block devices. The steps are explained below: > 1. user invokes the dm-setup command with the registered cipher "xt

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-06-01 Thread Milan Broz
On 05/30/2018 04:52 PM, Ladvine D Almeida wrote: > we have crypto API implementation for the hardware for XTS algorithm, which > will get registered when > the XTS algorithm capability of the inline encryption engine inside UFS Host > Controller get detected by the UFS HC > driver. dm-crypt wi

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-05-31 Thread Ladvine D Almeida
On Monday 28 May 2018 05:33 PM, Milan Broz wrote: > On 05/28/2018 03:01 PM, Ladvine D Almeida wrote: >> This patch adds new option >> -- perform_inline_encrypt >> that set the option inside dmcrypt to use inline encryption for >> the configured mapping. I want to introduce inline encryption sup

Re: [dm-devel] [PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-05-28 Thread Milan Broz
On 05/28/2018 03:01 PM, Ladvine D Almeida wrote: > > This patch adds new option > -- perform_inline_encrypt > that set the option inside dmcrypt to use inline encryption for > the configured mapping. I want to introduce inline encryption support > in the UFS Host Controller driver. The usage o