]> git.dujemihanovic.xyz Git - u-boot.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)
commiteda25c11b887ae952da2205ed1c8db751dbf4d11
tree410b947f12a829ec5fb7ea03064585d82e1a7a41
parent7fe2408b829faeaf51101a8c9b1bc0c3957606c3
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