From: Jia Jie Ho <jiajie.ho@starfivetech.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/2] crypto: starfive: Fixes for RSA
Date: Wed, 26 Jun 2024 09:40:41 +0800 [thread overview]
Message-ID: <20240626014043.1194521-1-jiajie.ho@starfivetech.com> (raw)
This series adds handling for 32-bit unaligned input text and a fix
for a missing pointer assignment in the driver.
v2->v3:
- Retain u32 aligned attribute for preallocated buffer.
- Replace sizeof(u32) with 4 to simplify calculation.
- Removed unrelated changes from patch 1.
- Move nent changes into patch 2.
v1->v2:
- Build the extra space required for shifting into reqsize.
Jia Jie Ho (2):
crypto: starfive - Align rsa input data to 32-bit
crypto: starfive - Fix nent assignment in rsa dec
drivers/crypto/starfive/jh7110-cryp.h | 4 ++--
drivers/crypto/starfive/jh7110-rsa.c | 15 +++++++++------
2 files changed, 11 insertions(+), 8 deletions(-)
--
2.43.0
next reply other threads:[~2024-06-26 1:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-26 1:40 Jia Jie Ho [this message]
2024-06-26 1:40 ` [PATCH v3 1/2] crypto: starfive - Align rsa input data to 32-bit Jia Jie Ho
2024-06-26 1:40 ` [PATCH v3 2/2] crypto: starfive - Fix nent assignment in rsa dec Jia Jie Ho
2024-07-06 0:52 ` [PATCH v3 0/2] crypto: starfive: Fixes for RSA 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=20240626014043.1194521-1-jiajie.ho@starfivetech.com \
--to=jiajie.ho@starfivetech.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®