Re: [dm-devel] dm-integrity stalls with iMX6q CAAM

2018-10-17 Thread Horia Geanta
On 9/21/2018 3:06 PM, Neil Armstrong wrote: > Hi, > > I recently configured dm-crypt + dm-integrity on an iMX6q platform with CAAM > Hash functions enabled using the following command lines : > > Linux 4.14.71 > > cryptsetup luksFormat /dev/mmcblk1p3 --cipher aes-xts-plain64 --type luks2 >

Re: [dm-devel] xts fuzz testing and lack of ciphertext stealing support

2019-08-07 Thread Horia Geanta
On 7/26/2019 10:59 PM, Horia Geantă wrote: > On 7/26/2019 1:31 PM, Pascal Van Leeuwen wrote: >> Ok, find below a patch file that adds your vectors from the specification >> plus my set of additional vectors covering all CTS alignments combined >> with the block sizes you desired. Please note

Re: [dm-devel] xts fuzz testing and lack of ciphertext stealing support

2019-08-08 Thread Horia Geanta
On 8/7/2019 11:58 PM, Pascal Van Leeuwen wrote: >> -Original Message- >> From: Horia Geanta >> Sent: Wednesday, August 7, 2019 5:52 PM >> To: Pascal Van Leeuwen ; Ard Biesheuvel >> >> Cc: Milan Broz ; Herbert Xu >> ; dm- >> de...@redhat.

Re: [dm-devel] xts fuzz testing and lack of ciphertext stealing support

2019-08-08 Thread Horia Geanta
On 8/8/2019 4:43 PM, Pascal Van Leeuwen wrote: > Hi Horia, > > This is the best I can do on short notice w.r.t vectors with 8 byte IV. > Format is actually equivalent to that of the XTS specification, with > the sector number being referred to as "H". > > Actually, the input keys, plaintext and

Re: [dm-devel] xts fuzz testing and lack of ciphertext stealing support

2019-08-09 Thread Horia Geanta
On 8/9/2019 9:45 AM, Ard Biesheuvel wrote: > On Fri, 9 Aug 2019 at 05:48, Herbert Xu wrote: >> >> On Thu, Aug 08, 2019 at 06:01:49PM +0000, Horia Geanta wrote: >>> >>> -- >8 -- >>> >>> Subject: [PATCH] crypto: testmgr - Add addition

Re: xts fuzz testing and lack of ciphertext stealing support

2019-07-17 Thread Horia Geanta
On 7/17/2019 1:16 AM, Eric Biggers wrote: > Hi Horia, > > On Tue, Jul 16, 2019 at 05:46:29PM +0000, Horia Geanta wrote: >> Hi, >> >> With fuzz testing enabled, I am seeing xts(aes) failures on caam drivers. >> >> Below are several failures, extracted from d

Re: [dm-devel] xts fuzz testing and lack of ciphertext stealing support

2019-07-26 Thread Horia Geanta
On 7/26/2019 1:31 PM, Pascal Van Leeuwen wrote: > Ok, find below a patch file that adds your vectors from the specification > plus my set of additional vectors covering all CTS alignments combined > with the block sizes you desired. Please note though that these vectors > are from our in-house

Re: [dm-devel] [PATCH] crypto: caam - update xts sector size for large input length

2020-03-02 Thread Horia Geanta
+ dm-devel On 2/28/2020 12:47 PM, Andrei Botila (OSS) wrote: > From: Andrei Botila > > Since in the software implementation of XTS-AES there is > no notion of sector every input length is processed the same way. > CAAM implementation has the notion of sector which causes different > results