mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] crypto: starfive: Fixes for RSA
@ 2024-06-26  1:40 Jia Jie Ho
  2024-06-26  1:40 ` [PATCH v3 1/2] crypto: starfive - Align rsa input data to 32-bit Jia Jie Ho
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jia Jie Ho @ 2024-06-26  1:40 UTC (permalink / raw)
  To: Herbert Xu, David S . Miller, linux-crypto, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-06  0:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-26  1:40 [PATCH v3 0/2] crypto: starfive: Fixes for RSA Jia Jie Ho
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

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®