Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-21 Thread Ard Biesheuvel
On Fri, 21 Jun 2019 at 09:06, Ard Biesheuvel wrote: > > On Fri, 21 Jun 2019 at 09:01, Milan Broz wrote: > > > > On 20/06/2019 15:52, Ard Biesheuvel wrote: > > Does this include configurations that combine authenc with essiv? > > >>> > > >>> Hm, seems that we are missing these in

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-21 Thread Ard Biesheuvel
On Fri, 21 Jun 2019 at 09:01, Milan Broz wrote: > > On 20/06/2019 15:52, Ard Biesheuvel wrote: > Does this include configurations that combine authenc with essiv? > >>> > >>> Hm, seems that we are missing these in luks2-integrity-test. I'll add > >>> them there. > >>> > >>> I also used this

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-21 Thread Milan Broz
On 20/06/2019 15:52, Ard Biesheuvel wrote: Does this include configurations that combine authenc with essiv? >>> >>> Hm, seems that we are missing these in luks2-integrity-test. I'll add them >>> there. >>> >>> I also used this older test >>>

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Ard Biesheuvel
On Thu, 20 Jun 2019 at 15:14, Milan Broz wrote: > > On 20/06/2019 14:09, Milan Broz wrote: > > On 20/06/2019 13:54, Ard Biesheuvel wrote: > >> On Thu, 20 Jun 2019 at 13:22, Milan Broz wrote: > >>> > >>> On 19/06/2019 18:29, Ard Biesheuvel wrote: > This series creates an ESSIV template that

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Milan Broz
On 20/06/2019 14:09, Milan Broz wrote: > On 20/06/2019 13:54, Ard Biesheuvel wrote: >> On Thu, 20 Jun 2019 at 13:22, Milan Broz wrote: >>> >>> On 19/06/2019 18:29, Ard Biesheuvel wrote: This series creates an ESSIV template that produces a skcipher or AEAD transform based on a tuple of

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Milan Broz
On 20/06/2019 13:54, Ard Biesheuvel wrote: > On Thu, 20 Jun 2019 at 13:22, Milan Broz wrote: >> >> On 19/06/2019 18:29, Ard Biesheuvel wrote: >>> This series creates an ESSIV template that produces a skcipher or AEAD >>> transform based on a tuple of the form ',,' >>> (or ',,' for the AEAD case).

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Ard Biesheuvel
On Thu, 20 Jun 2019 at 13:22, Milan Broz wrote: > > On 19/06/2019 18:29, Ard Biesheuvel wrote: > > This series creates an ESSIV template that produces a skcipher or AEAD > > transform based on a tuple of the form ',,' > > (or ',,' for the AEAD case). It exposes the > > encapsulated sync or async

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Milan Broz
On 19/06/2019 18:29, Ard Biesheuvel wrote: > This series creates an ESSIV template that produces a skcipher or AEAD > transform based on a tuple of the form ',,' > (or ',,' for the AEAD case). It exposes the > encapsulated sync or async skcipher/aead by passing through all operations, > while

Re: [PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-20 Thread Gilad Ben-Yossef
On Wed, Jun 19, 2019 at 7:29 PM Ard Biesheuvel wrote: > > This series creates an ESSIV template that produces a skcipher or AEAD > transform based on a tuple of the form ',,' > (or ',,' for the AEAD case). It exposes the > encapsulated sync or async skcipher/aead by passing through all

[PATCH v3 0/6] crypto: switch to crypto API for ESSIV generation

2019-06-19 Thread Ard Biesheuvel
This series creates an ESSIV template that produces a skcipher or AEAD transform based on a tuple of the form ',,' (or ',,' for the AEAD case). It exposes the encapsulated sync or async skcipher/aead by passing through all operations, while using the cipher/shash pair to transform the input IV