diff options
author | Jia Jie Ho <jiajie.ho@starfivetech.com> | 2024-06-26 09:40:42 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-07-06 10:20:00 +1000 |
commit | 6aad7019f697ab0bed98eba737d19bd7f67713de (patch) | |
tree | 545a0f5cc7c6a07ef67d9fa5c459cdcd92782cb2 /drivers/usb/cdns3/cdns3-trace.c | |
parent | f0622894c59458fceb33c4197462bc2006f3fc6b (diff) |
crypto: starfive - Align rsa input data to 32-bit
Hardware expects RSA input plain/ciphertext to be 32-bit aligned.
Set fixed length for preallocated buffer to the maximum supported
keysize of the hardware and shift input text accordingly.
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions