Fix synchronous fallback path for request chaining
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | crypto: hash - Fix synchronous ahash chaining fallbackcrypto/ | +28 | 0 replies | |
| 2/4 | crypto: testmgr - Add multibuffer hash testingcrypto/ | +136 | 0 replies | |
| 3/4 | crypto: acomp - Fix synchronous acomp chaining fallbackcrypto/ | +11 | 0 replies | |
| 4/4 | crypto: testmgr - Add multibuffer acomp testingcrypto/ | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Fix synchronous fallback path for request chaining
It turns out that the fallback path for synchronous algorithms is broken for ahash and acomp. It was difficult to identify because a separate fast path already is normally used for shash and scomp. So to reproduce this crash, you would either have to create a new algorithm that is synchronous, or disable the fast path for scomp and shash.
This patch series fixes that particular fallback path and adds multibuffer testing for ahash and acomp. Note that you may not be able to reproduce the crash without disabling the fast paths or adding your own custom synchronous acomp/ahash algorithm that does not support chaining.
Herbert Xu (4):
crypto: hash - Fix synchronous ahash chaining fallback
crypto: testmgr - Add multibuffer hash testing
crypto: acomp - Fix synchronous acomp chaining fallback
crypto: testmgr - Add multibuffer acomp testing
crypto/acompress.c | 33 ++--- crypto/ahash.c | 60 +++++---- crypto/testmgr.c | 302 ++++++++++++++++++++++++++++++++------------- 3 files changed, 254 insertions(+), 141 deletions(-)
Signature · 1 line
2.39.5