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 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

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