talitos SEC1 ahash 32k request limitation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: talitos - fix SEC1 32k ahash request limitationdrivers/ | +147 | 0 replies | |
| 2/2 | crypto: talitos - rename first/last to first_desc/last_descdrivers/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] talitos SEC1 ahash 32k request limitation
Hi,
The first patch fixes the ahash request size limitation of 32k in the talitos driver. This limitation is due to the fact that the driver was using a single descriptor for the whole request, which is not enough to handle larger requests. A change in the crypto core introduced the regression. The patches split the request into multiple descriptors if needed, allowing to handle requests larger than 32k.
The second patch is just cosmetic changes in order to make the code more readable and consistent with the fix.
Thank you,
Paul.
Paul Louvel (2):
crypto: talitos - fix SEC1 32k ahash request limitation
crypto: talitos - rename first/last to first_desc/last_desc
drivers/crypto/talitos.c | 254 +++++++++++++++++++++++++-------------- 1 file changed, 166 insertions(+), 88 deletions(-)
Signature · 3 lines
Paul Louvel, Bootlin Embedded Linux and Kernel engineering https://bootlin.com