Re: [PATCH v2 2/2] crypto: caam - Use bounce buffer for unaligned RSA destination buffers

From: Changwei Zou

Date: Sat Oct 17 2026 - 06:21:37 EST


Hi Stephane,

Thank you very much for your help with testing the patch.

In fact, I had previously submitted another patch to fix the bug on the caller side:

https://lore.kernel.org/all/20260731024446.786329-1-changwei.zou@xxxxxxxxxxxxx/

However, Herbert pointed out:

"In the Crypto API we don't ask the user to provide aligned data.
In general it's the driver's responsibility to ensure proper alignment."

https://lore.kernel.org/all/am2UMhd5CAhDiKBF@xxxxxxxxxxxxxxxxxxx/

Therefore, I later switched to a driver-side solution.

I'll include your Tested-by tag when I submit the next version.

Thanks.