From: Horia Geanta <horia.geanta@nxp.com>
To: Chen Ridong <chenridong@huaweicloud.com>,
Pankaj Gupta <pankaj.gupta@nxp.com>,
Gaurav Jain <gaurav.jain@nxp.com>,
"herbert@gondor.apana.org.au" <herbert@gondor.apana.org.au>,
"davem@davemloft.net" <davem@davemloft.net>,
"tudor-dan.ambarus@nxp.com" <tudor-dan.ambarus@nxp.com>,
Radu Andrei Alexe <radu.alexe@nxp.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
"chenridong@huawei.com" <chenridong@huawei.com>,
"wangweiyang2@huawei.com" <wangweiyang2@huawei.com>
Subject: Re: [PATCH] crypto: caam - add error check to caam_rsa_set_priv_key_form
Date: Wed, 13 Nov 2024 12:56:13 +0000 [thread overview]
Message-ID: <4092b7f5-963e-49cd-acf8-8cd79069cc76@nxp.com> (raw)
In-Reply-To: <20241104121511.1634822-1-chenridong@huaweicloud.com>
On 11/4/2024 2:24 PM, Chen Ridong wrote:
> From: Chen Ridong <chenridong@huawei.com>
>
> The caam_rsa_set_priv_key_form did not check for memory allocation errors.
> Add the checks to the caam_rsa_set_priv_key_form functions.
>
> Fixes: 52e26d77b8b3 ("crypto: caam - add support for RSA key form 2")
> Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Thanks,
Horia
next prev parent reply other threads:[~2024-11-13 12:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 12:15 [PATCH] crypto: caam - add error check to caam_rsa_set_priv_key_form Chen Ridong
2024-11-11 2:21 ` chenridong
2024-11-11 5:28 ` [EXT] " Gaurav Jain
2024-11-13 12:56 ` Horia Geanta [this message]
2024-11-15 11:56 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4092b7f5-963e-49cd-acf8-8cd79069cc76@nxp.com \
--to=horia.geanta@nxp.com \
--cc=chenridong@huawei.com \
--cc=chenridong@huaweicloud.com \
--cc=davem@davemloft.net \
--cc=gaurav.jain@nxp.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=pankaj.gupta@nxp.com \
--cc=radu.alexe@nxp.com \
--cc=tudor-dan.ambarus@nxp.com \
--cc=wangweiyang2@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox