diff options
| author | Chen Ridong <chenridong@huawei.com> | 2024-11-04 12:15:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:20 +0100 |
| commit | 2eb0211de50c842eac4330b0ca9f6e1ae7d2f6f0 (patch) | |
| tree | 8ecc41d5613918c983f42ab4a76decee5115c762 /scripts/stackusage | |
| parent | 526c132124a62be486bad1701f7e8e92212ccec6 (diff) | |
| download | linux-2eb0211de50c842eac4330b0ca9f6e1ae7d2f6f0.tar.gz linux-2eb0211de50c842eac4330b0ca9f6e1ae7d2f6f0.tar.bz2 linux-2eb0211de50c842eac4330b0ca9f6e1ae7d2f6f0.zip | |
crypto: caam - add error check to caam_rsa_set_priv_key_form
[ Upstream commit b64140c74e954f1db6eae5548ca3a1f41b6fad79 ]
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: Gaurav Jain <gaurav.jain@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
