[PATCH v3 0/2] crypto: starfive: Fixes for RSA

Jia Jie Ho posted 2 patches 1 year, 5 months ago
drivers/crypto/starfive/jh7110-cryp.h |  4 ++--
drivers/crypto/starfive/jh7110-rsa.c  | 15 +++++++++------
2 files changed, 11 insertions(+), 8 deletions(-)
[PATCH v3 0/2] crypto: starfive: Fixes for RSA
Posted by Jia Jie Ho 1 year, 5 months ago
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
Re: [PATCH v3 0/2] crypto: starfive: Fixes for RSA
Posted by Herbert Xu 1 year, 5 months ago
On Wed, Jun 26, 2024 at 09:40:41AM +0800, Jia Jie Ho wrote:
> 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

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt