From: sbabic@denx.de
To: Gaurav Jain <gaurav.jain@nxp.com>,u-boot@lists.denx.de
Subject: [PATCH v2] crypto/fsl: add invalidate_dcache_range for hash output buffer
Date: Fri, 22 Apr 2022 10:46:50 +0200 (CEST) [thread overview]
Message-ID: <20220422084653.2330C83DB6@phobos.denx.de> (raw)
In-Reply-To: <20220419052228.1933881-1-gaurav.jain@nxp.com>
> 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: d7af2baa49 (crypto/fsl: Fix HW accelerated hash commands)
> Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
prev parent reply other threads:[~2022-04-22 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-19 5:22 [PATCH v2] crypto/fsl: add invalidate_dcache_range for hash output buffer Gaurav Jain
2022-04-22 8:46 ` sbabic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220422084653.2330C83DB6@phobos.denx.de \
--to=sbabic@denx.de \
--cc=gaurav.jain@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox