Hi Gaurav,
On Thu, Jun 9, 2022 at 9:47 AM Gaurav Jain wrote:
> + flush_dcache_range((ulong)ctx->sg_tbl,
> + (ulong)(ctx->sg_tbl) + (ctx->sg_num *
> sizeof(struct sg_entry)));
> + for (i = 0; i < ctx->sg_num; i++) {
> + sg_entry_len = (sec_in32(
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/fsl_hash.c | 18 --
1 file changed, 12 insert
2 matches
Mail list logo