]> git.baikalelectronics.ru Git - uboot.git/commit
crypto/fsl: fsl_rsa: Fix dcache issue in the driver
authorYe Li <ye.li@nxp.com>
Wed, 28 Sep 2022 10:19:02 +0000 (15:49 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000 (11:54 +0200)
commit6924df253257afbd97e03f7167465086c67d1b3d
tree410b947f12a829ec5fb7ea03064585d82e1a7a41
parent7e6700411ba41da3f14e870ca78329c67acd4388
crypto/fsl: fsl_rsa: Fix dcache issue in the driver

issue:
CAAM fails with key error when perform Modular Exponentiation
using PKHA Block in CAAM

Fix:
add flush and invalidate dcache for keys, signature
and output decrypted data processed by CAAM.

Fixes: 34276478f7 (DM: crypto/fsl - Add Freescale rsa DM driver)
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
drivers/crypto/fsl/fsl_rsa.c