[PATCH v2] crypto/fsl: add invalidate_dcache_range for hash output buffer

2022-04-22 Thread sbabic
> HW accelerated hash operations are giving incorrect hash output. > so invalidate cache lines to avoid cache overwriting in DDR memory region. > caam_hash() > -moved address alignment check in the beginning of function. > -added invalidate_dcache_range for pout buffer before running descriptor.

[PATCH v2] crypto/fsl: add invalidate_dcache_range for hash output buffer

2022-04-18 Thread Gaurav Jain
HW accelerated hash operations are giving incorrect hash output. so invalidate cache lines to avoid cache overwriting in DDR memory region. caam_hash() -moved address alignment check in the beginning of function. -added invalidate_dcache_range for pout buffer before running descriptor. Fixes: d