Re: [dm-devel] Integrity checking fails with Atmel SHA hw accelerator enabled

2018-02-25 Thread Gigi W
Thanks again for feedback ! Yes, I can do some additional tests in order to isolate the problem. I'm not that familiar with the code responsible for this so I'll ask for your help with a patch. It will be quicker that way. Best regards Mircea On Sat, Feb 24, 2018 at 10:59 AM, Gilad Ben-Yossef w

Re: [dm-devel] Integrity checking fails with Atmel SHA hw accelerator enabled

2018-02-24 Thread Gilad Ben-Yossef
Hi, I'm adding the linux crypto mailing list because it seems relevant. On Fri, Feb 23, 2018 at 2:25 PM, Gigi W wrote: > Thanks for the input! > > See below > > > On Fri, Feb 23, 2018 at 10:53 AM Gilad Ben-Yossef > wrote: >> >> On Fri, Feb 23, 2018 at 10:30 AM, Gigi W wrote: >> > Hi >> > >> >

Re: [dm-devel] Integrity checking fails with Atmel SHA hw accelerator enabled

2018-02-23 Thread Gigi W
Thanks for the input! See below On Fri, Feb 23, 2018 at 10:53 AM Gilad Ben-Yossef wrote: > On Fri, Feb 23, 2018 at 10:30 AM, Gigi W wrote: > > Hi > > > > I'm having some trouble using dm-verity for a squashfs root file system > that > > seems to be related to the > > Atmel SHA hw accelerator

Re: [dm-devel] Integrity checking fails with Atmel SHA hw accelerator enabled

2018-02-23 Thread Gilad Ben-Yossef
On Fri, Feb 23, 2018 at 10:30 AM, Gigi W wrote: > Hi > > I'm having some trouble using dm-verity for a squashfs root file system that > seems to be related to the > Atmel SHA hw accelerator in the kernel, CONFIG_CRYPTO_DEV_ATMEL_SHA > > Some info about my setup: > * I'm using a board with a SAMA5D

[dm-devel] Integrity checking fails with Atmel SHA hw accelerator enabled

2018-02-23 Thread Gigi W
Hi I'm having some trouble using dm-verity for a squashfs root file system that seems to be related to the Atmel SHA hw accelerator in the kernel, CONFIG_CRYPTO_DEV_ATMEL_SHA Some info about my setup: * I'm using a board with a SAMA5D4 CPU. * I'm using Yocto rocko for building an image for that d