]> git.baikalelectronics.ru Git - uboot.git/commit
crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish
authorGaurav Jain <gaurav.jain@nxp.com>
Wed, 11 May 2022 08:53:19 +0000 (14:23 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 10:36:47 +0000 (12:36 +0200)
commit43fe81f909443860ffd93c1e23d26f30b2b7b9a4
tree89e5bcd5d90161358f045365061b548a6b6199dd
parentbad068557f42278cb42f5ddfae0dbc681e475d78
crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish

HW accelerated hash operations are giving incorrect hash output.
so add flush and invalidate for input/output hash buffers.

Fixes: 94e3c8c4fd (crypto/fsl - Add progressive hashing support using hardware acceleration.)
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
drivers/crypto/fsl/fsl_hash.c