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] [day] [month] [year] [list]
Message-ID: <VI1PR0402MB34857944B58B6E0E44B5CCA098090@VI1PR0402MB3485.eurprd04.prod.outlook.com>
Date:   Wed, 15 May 2019 06:52:58 +0000
From:   Horia Geanta <horia.geanta@....com>
To:     Iuliana Prodan <iuliana.prodan@....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 2/2] crypto: caam - fix pkcs1pad input without changing
 crypto request

On 5/14/2019 7:45 PM, Iuliana Prodan wrote:
> For pkcs1pad(rsa-caam, sha256), CAAM expects an input of modulus size. For
> this we strip the leading zeros in case the size is more than modulus or
> pad the input with zeros until the modulus size is reached.
> This commit avoids modifying the crypto request while striping zeros from
> input, to comply with the crypto API requirement. This is done by adding
> a fixup input pointer and length.
> 
This fix is not specific to pkcs1pad, it applies even to textbook / raw rsa.
Pleas rephrase the commit message accordingly.

Thanks,
Horia

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ