lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 May 2019 14:00:38 +0000
From:   Iuliana Prodan <iuliana.prodan@....com>
To:     Horia Geanta <horia.geanta@....com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Aymen Sghaier <aymen.sghaier@....com>
CC:     "David S. Miller" <davem@...emloft.net>,
        "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH v2 2/2] crypto: caam - strip input without changing crypto
 request

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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ