Re: [PATCH v2 2/2] crypto: caam - strip input without changing crypto request

From: Horia Geanta
Date: Wed May 15 2019 - 09:01:42 EST


On 5/15/2019 2:25 PM, Iuliana Prodan wrote:
> For rsa/pkcs1pad(rsa-caam, sha256), CAAM expects an input of modulus size.
Only for sha256?

> For this we strip the leading zeros in case the size is more than modulus.
> This commit avoids modifying the crypto request while striping zeros from
^^^ stripping

Horia