u-boot/drivers/crypto/fsl
Gaurav Jain 2c16bf2d14 crypto/fsl: add invalidate_dcache_range for hash output buffer
HW accelerated hash operations are giving incorrect hash output.
so invalidate cache lines to avoid cache overwriting in DDR memory region.

caam_hash()
 -moved address alignment check in the beginning of function.
 -added invalidate_dcache_range for pout buffer before running descriptor.

Fixes: d7af2baa49 (crypto/fsl: Fix HW accelerated hash commands)
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
2022-04-21 15:18:25 +02: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: add invalidate_dcache_range for hash output buffer 2022-04-21 15:18:25 +02: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 crypto/fsl: i.MX8: Enable Job ring driver model. 2022-04-12 11:19:21 +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