Re: [PATCH v3 0/2] crypto: starfive: Fixes for RSA
From: Herbert Xu
Date: Fri Jul 05 2024 - 20:52:55 EST
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@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt