lkml.org 
[lkml]   [2019]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 2/2] crypto: caam - strip input without changing crypto request
Date
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
>


\
 
 \ /
  Last update: 2019-05-15 16:02    [W:0.025 / U:0.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site