Messages in this thread | | | From | Iuliana Prodan <> | Subject | Re: [PATCH v2 2/2] crypto: caam - strip input without changing crypto request | Date | Wed, 15 May 2019 14:00:38 +0000 |
| |
On 5/15/2019 3:59 PM, Horia Geanta wrote: > 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? No, is not just sha256. Is a combination of rsa-caam and a hash algorithm. I'll send a new version to fix the commit message. > >> 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 >
| |