u-boot/drivers/crypto/fsl
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
..
desc.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
desc_constr.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
error.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_blob.c crypto/fsl: Clear the memory when blob decapsulation fails 2022-04-21 15:18:25 +02:00
fsl_hash.c crypto: fsl_hash: Remove unnecessary alignment check in caam_hash() 2022-06-16 15:22:54 -04:00
fsl_hash.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_mfgprot.c fsl_mfgprot: Fix typo in sign_mppubk() 2021-04-08 20:29:52 +02:00
fsl_rsa.c dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
jobdesc.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
jobdesc.h crypto/fsl: add RNG support 2020-07-27 14:16:29 +05:30
jr.c i.MX8 crypto/fsl: Enable fsl CAAM rng driver 2022-05-19 21:39:36 +02:00
jr.h crypto/fsl: Add support for CAAM Job ring driver model 2022-04-12 11:18:34 +02:00
Kconfig crypto/fsl: i.MX8: Enable Job ring driver model. 2022-04-12 11:19:21 +02:00
Makefile imx8m: Add DEK blob encapsulation for imx8m 2021-04-08 20:29:52 +02:00
rng.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
rsa_caam.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sec.c crypto/fsl: export caam_get_era() 2020-07-27 14:16:29 +05:30
type.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00