Skip to content

talitos SEC1 ahash 32k request limitation

Paul Louvel linux-crypto lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: talitos - fix SEC1 32k ahash request limitationdrivers/crypto/talitos.c+147 -690 replies
2/2crypto: talitos - rename first/last to first_desc/last_descdrivers/crypto/talitos.c+23 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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