Re: [PATCH v2] crypto: rsassa-pkcs1: align DMA buffer to ARCH_DMA_MINALIGN

Changwei Zou <[email protected]> Tue, 28 Jul 2026 19:19:41 +1000
Newsgroups org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi Lukas,

Thank you for your feedback and guidance.

Yes, "PATCH V2" supersedes the previous patch.
https://lore.kernel.org/r/[email protected]

Although the first patch passed 10,000 iterations of stress testing,
it implicitly relied on in_buf (i.e., ctx->key_size) being larger than a cache line.

In PATCH V2, aligning out_buf to ARCH_DMA_MINALIGN makes the root cause clearer.

I will fix the typo and switch to the CRYPTO_* alignment macros in V3.

Thanks again.

Kind regards,
Changwei