]> git.droids-corp.org - dpdk.git/commit
crypto/openssl: fix 3.0 EVP_PKEY usage in RSA operations
authorKai Ji <kai.ji@intel.com>
Tue, 5 Jul 2022 13:16:25 +0000 (21:16 +0800)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 5 Jul 2022 16:30:24 +0000 (18:30 +0200)
commit81e3122fe168eaccd381263ca4814205772cbc2d
tree0bcca82840794f2409fdcf748f859344b9e3c5e7
parentc6de7bb69b0053f9ad088fb3c75c4c36239eaad4
crypto/openssl: fix 3.0 EVP_PKEY usage in RSA operations

EVP_PKEY function need to be called twice for RSA sign
and verify operations in 3.0 EVP API. Original OpenSSL
1.x routines are untouched. The OPENSSL_API_COMPAT is
also removed as the driver now supports OpenSSL 3.0 lib
as well when it is detected on the host.

Fixes: d7bd42f6db19 ("crypto/openssl: update RSA routine with 3.0 EVP API")
Signed-off-by: Kai Ji <kai.ji@intel.com>
drivers/crypto/openssl/rte_openssl_pmd.c
drivers/crypto/openssl/rte_openssl_pmd_ops.c