]> git.droids-corp.org - dpdk.git/commit
crypto/cnxk: fix bus error on RSA verify
authorKiran Kumar K <kirankumark@marvell.com>
Mon, 25 Oct 2021 04:00:04 +0000 (09:30 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 4 Nov 2021 18:43:14 +0000 (19:43 +0100)
commitb85b329bd3d4869b55b0d4f8ca54ff6698537d50
tree4457f51e66d64ca0456b2c56d2d8fd0f728763eb
parent867ba300f915291629c33b2eadf6a98564c622a0
crypto/cnxk: fix bus error on RSA verify

While creating RSA session, private key length is not being
calculated properly. This is causing bus error on RSA verify.
This patch fix the issue with length calculation.

Fixes: 5a3513caeb455 ("crypto/cnxk: add asymmetric session")
Cc: stable@dpdk.org
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/cnxk/cnxk_ae.h