u-boot/drivers/crypto
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
..
aspeed crypto: aspeed: fix polling RSA status wrong issue 2022-02-21 08:35:40 -05:00
fsl crypto: fsl_hash: Remove unnecessary alignment check in caam_hash() 2022-06-16 15:22:54 -04:00
hash crypto: aspeed: Add AST2600 HACE support 2021-11-17 17:05:00 -05:00
rsa_mod_exp dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ace_sha.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ace_sha.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
Kconfig crypto: aspeed: Add AST2600 HACE support 2021-11-17 17:05:00 -05:00
Makefile crypto: aspeed: Add AST2600 HACE support 2021-11-17 17:05:00 -05:00