diff options
| author | Herbert Xu <[email protected]> | 2025-03-21 08:43:32 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2025-03-21 23:25:19 +0000 |
| commit | 39fc22a8e53e96392f9b2c840e386272affbe6ba (patch) | |
| tree | 123620fcad948fb30bf36fbed57b264a617cafe6 /drivers/crypto/intel/iaa/iaa_crypto_main.c | |
| parent | crypto: testmgr - Add multibuffer hash testing (diff) | |
| download | kernel-39fc22a8e53e96392f9b2c840e386272affbe6ba.tar.gz kernel-39fc22a8e53e96392f9b2c840e386272affbe6ba.zip | |
crypto: acomp - Fix synchronous acomp chaining fallback
The synchronous acomp fallback code path is broken because the
completion code path assumes that the state object is always set
but this is only done for asynchronous algorithms.
First of all remove the assumption on the completion code path
by passing in req0 instead of the state. However, also remove
the conditional setting of the state since it's always in the
request object anyway.
Fixes: b67a02600372 ("crypto: acomp - Add request chaining and virtual addresses")
Reported-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/crypto/intel/iaa/iaa_crypto_main.c')
0 files changed, 0 insertions, 0 deletions
