diff options
author | Stefan Roese <sr@denx.de> | 2022-04-29 15:34:44 +0200 |
---|---|---|
committer | Sergio Prado <sergio.prado@toradex.com> | 2023-04-26 10:25:15 -0300 |
commit | b79848f225ac832ca0e973eb6cd7784bb6827f44 (patch) | |
tree | 7a00e64c34a2758956251f8a542b8e511bf34b30 /cmd/scp03.c | |
parent | a7d6442796bfd642d680e020ca0a1ce5e9f185b8 (diff) |
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>
Diffstat (limited to 'cmd/scp03.c')
0 files changed, 0 insertions, 0 deletions