[PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

Tom Rini trini at konsulko.com
Mon Jun 6 20:36:20 CEST 2022


On Mon, Jun 06, 2022 at 07:43:52PM +0200, Rasmus Villemoes wrote:
> On 29/04/2022 15.34, Stefan Roese wrote:
> > While working on an LX2160 based board and updating to latest mainline
> > I noticed problems using the HW accelerated hash functions on this
> > platform, when trying to boot a FIT Kernel image. Here the resulting
> > error message:
> > 
> >    Using 'conf-freescale_lx2160a.dtb' configuration
> >    Trying 'kernel-1' kernel subimage
> >    Verifying Hash Integrity ... sha256Error: Address arguments are not aligned
> > CAAM was not setup properly or it is faulty
> >  error!
> > Bad hash value for 'hash-1' hash node in 'kernel-1' image node
> > Bad Data Hash
> > ERROR: can't get kernel image!
> > 
> > Testing and checking with Gaurav Jain from NXP has revealed, that this
> > alignment check is not necessary here at all. So let's remove this
> > check completely.
> 
> Any chance this could make it into 2022.07?

I've put this in my -rc5 queue now.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220606/73c5ae4e/attachment.sig>


More information about the U-Boot mailing list