[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240626014043.1194521-1-jiajie.ho@starfivetech.com>
Date: Wed, 26 Jun 2024 09:40:41 +0800
From: Jia Jie Ho <jiajie.ho@...rfivetech.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] crypto: starfive: Fixes for RSA
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
Powered by blists - more mailing lists