Hi Gaurav,
On Mon, Apr 18, 2022 at 6:30 AM Gaurav Jain wrote:
> if (!IS_ALIGNED((uintptr_t)pbuf, ARCH_DMA_MINALIGN) ||
> !IS_ALIGNED((uintptr_t)pout, ARCH_DMA_MINALIGN)) {
> puts("Error: Address arguments are not aligned\n");
> return -EINVAL;
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:
2 matches
Mail list logo