crypto/cnxk: add null check for RSA key data
authorKiran Kumar K <kirankumark@marvell.com>
Mon, 26 Jul 2021 04:44:19 +0000 (10:14 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 30 Jul 2021 18:57:23 +0000 (20:57 +0200)
commit675ba7069148c7b18f3c74a66938dd34ee8ca653
tree685f9090cbe2ef9f6f2e0de067c0475fe02ccfd9
parent889317b7ecb35fbde26b75c363f5d02b4cab3be0
crypto/cnxk: add null check for RSA key data

Coverity is reporting FORWARD_NULL issue when qt data is NULL.
Adding NULL check for this.

Coverity issue: 371893
Fixes: 5a3513caeb45 ("crypto/cnxk: add asymmetric session")

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/cnxk/cnxk_ae.h