From: Thomas BOURGOIN <thomas.bourgoin@foss.st.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Lionel Debieve <lionel.debieve@foss.st.com>,
Linus Walleij <linus.walleij@linaro.org>
Cc: <linux-crypto@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Subject: [PATCH v2 0/7] Support of HASH on STM32MP13
Date: Thu, 13 Jul 2023 17:15:11 +0200 [thread overview]
Message-ID: <20230713151518.1513949-1-thomas.bourgoin@foss.st.com> (raw)
From: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
The STM32MP13 platform introduces a new version of the IP HASH.
This version of the IP support SHA1, SHA2, SHA3 algorithms and HMAC.
This serie also add some fixes when using the DMA to feed data to the IP.
1. Add new YAML compatible st,stm32mp13-hash.
2. Update driver to support SHA2, SHA3 algorithms for the compatible
st,stm32mp13-hash.
3. Argument bufcnt is unused in function stm32_hash_write_ctrl. Removes it
to simplify the declaration of the function.
4-7. DMA fixes
Changes in v2:
- Add SoB in dt-bindings: crypto: add new compatible for stm32-hash
- Fix regression in crypto: stm32 - add new algorithms support
The macro HASH_CSR_NB_SHA256 was equal to 22 change to 38.
- Update commit message of crypto: stm32 - fix MDMAT condition
Cc: stable@vger.kernel.org and
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Lionel Debieve (1):
dt-bindings: crypto: add new compatible for stm32-hash
Thomas Bourgoin (6):
crypto: stm32 - add new algorithms support
crypto: stm32 - remove bufcnt in stm32_hash_write_ctrl.
crypto: stm32 - fix loop iterating through scatterlist for DMA
crypto: stm32 - check request size and scatterlist size when using
DMA.
crypto: stm32 - fix MDMAT condition
crypto: stm32 - remove flag HASH_FLAGS_DMA_READY
.../bindings/crypto/st,stm32-hash.yaml | 1 +
drivers/crypto/stm32/Kconfig | 2 +
drivers/crypto/stm32/stm32-hash.c | 710 ++++++++++++++----
3 files changed, 566 insertions(+), 147 deletions(-)
--
2.25.1
next reply other threads:[~2023-07-13 15:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 15:15 Thomas BOURGOIN [this message]
2023-07-13 15:15 ` [PATCH v2 1/7] dt-bindings: crypto: add new compatible for stm32-hash Thomas BOURGOIN
2023-07-13 19:33 ` Conor Dooley
2023-07-13 15:15 ` [PATCH v2 2/7] crypto: stm32 - add new algorithms support Thomas BOURGOIN
2023-07-13 15:15 ` [PATCH v2 3/7] crypto: stm32 - remove bufcnt in stm32_hash_write_ctrl Thomas BOURGOIN
2023-07-13 15:15 ` [PATCH v2 4/7] crypto: stm32 - fix loop iterating through scatterlist for DMA Thomas BOURGOIN
2023-07-13 15:15 ` [PATCH v2 5/7] crypto: stm32 - check request size and scatterlist size when using DMA Thomas BOURGOIN
2023-07-13 15:15 ` [PATCH v2 6/7] crypto: stm32 - fix MDMAT condition Thomas BOURGOIN
2023-07-13 15:15 ` [PATCH v2 7/7] crypto: stm32 - remove flag HASH_FLAGS_DMA_READY Thomas BOURGOIN
2023-07-15 20:02 ` [PATCH v2 0/7] Support of HASH on STM32MP13 Linus Walleij
2023-07-22 2:15 ` Herbert Xu
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=20230713151518.1513949-1-thomas.bourgoin@foss.st.com \
--to=thomas.bourgoin@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=lionel.debieve@foss.st.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).