1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-10 11:16:20 +01:00
Files
u-boot-megous/drivers
Stefan Roese 41b2182af7 crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()
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.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Gaurav Jain <gaurav.jain@nxp.com>
Cc: dullfire@yahoo.com
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
2022-06-16 15:22:54 -04:00
..
2022-04-25 09:25:00 +02:00
2022-05-02 09:58:13 -04:00
2022-05-02 09:58:13 -04:00
2021-10-05 08:50:15 -04:00
2022-03-30 13:02:55 -04:00
2022-01-13 07:57:49 -05:00
2022-04-28 09:26:44 -04:00
2022-01-13 07:57:49 -05:00
2022-06-15 11:34:38 +02:00
2022-05-02 09:58:13 -04:00
2022-04-11 10:28:04 -04:00
2022-05-05 09:28:47 -04:00
2022-05-03 21:39:22 +02:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00