On Tue, Sep 05, 2023 at 11:41:14AM +0100, Giovanni Cabiddu wrote:
Options:
- Cherry-pick 5b11d1a360ea ("crypto: rsa-pkcs1pad - Use helper to set reqsize") to both 6.1.x and 5.15.x trees.
- Revert upstream commit 80e62ad58db0 ("crypto: qat - Use helper to set reqsize"). In 6.1 revert da1729e6619c414f34ce679247721603ebb957dc In 5.15 revert 3894f5880f968f81c6f3ed37d96bdea01441a8b7
Option #1 is preferred as the same problem might be impacting other akcipher implementations besides QAT. Option #2 is just specific to the QAT driver.
@Herbert, can you have a quick look in case I missed something? I tried both options in 6.1.51 and they appear to resolve the problem.
Yes I think backporting the rsa-pkcs1pad would be the best way forward.
Thanks,