]> git.baikalelectronics.ru Git - uboot.git/commit
crypto/fsl: fsl_hash: Fix crash in flush dcache
authorGaurav Jain <gaurav.jain@nxp.com>
Fri, 29 Jul 2022 10:02:23 +0000 (15:32 +0530)
committerStefano Babic <sbabic@denx.de>
Sun, 18 Sep 2022 20:56:09 +0000 (22:56 +0200)
commitf8e8734f3e8d3c7db9384c751758ccf8397b5cbf
tree35ea01b9cc66ba33fdea5e4ae19e872be4a13e9c
parent0d65d4d59d11ebbf4e06f4ffec4257b9e150b61b
crypto/fsl: fsl_hash: Fix crash in flush dcache

wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.

Fixes: 43fe81f909 (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
drivers/crypto/fsl/fsl_hash.c