numam-dpdk/drivers/crypto/ccp
Heinrich Schuchardt 7360749f16 drivers/crypto: fix warnings for OpenSSL version
The API of the OpenSSL library has changed with version 3.0. This results
in a lot of compiler warnings like

    ../dpdk/drivers/crypto/ccp/ccp_crypto.c:182:9:
    warning: ‘SHA256_Transform’ is deprecated:
    Since OpenSSL 3.0 [-Wdeprecated-declarations]

As many Linux distributions still use elder OpenSSL libraries we cannot
change the used API now. Instead define OPENSSL_API_COMPAT to indicate
that we are using the OpenSSL 1.1.0 API.

OPENSSL_API_COMPAT is introduced in *.c files and not in *.h files as some
*.c files directly include OpenSSL headers.

Fixes: d61f70b4c9 ("crypto/libcrypto: add driver for OpenSSL library")
Cc: stable@dpdk.org

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Daxue Gao <daxuex.gao@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
Acked-by: Kai Ji <kai.ji@intel.com>
2022-06-01 16:26:35 +02:00
..
ccp_crypto.c drivers/crypto: fix warnings for OpenSSL version 2022-06-01 16:26:35 +02:00
ccp_crypto.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
ccp_dev.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
ccp_dev.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
ccp_pci.c crypto/ccp: enable IOMMU 2021-01-19 18:05:45 +01:00
ccp_pci.h crypto/ccp: support device init 2018-04-23 18:19:48 +01:00
ccp_pmd_ops.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
ccp_pmd_private.h crypto/ccp: fix scheduling of burst 2019-11-25 11:01:36 +01:00
meson.build drivers/crypto: move Windows build check 2021-11-04 19:43:14 +01:00
rte_ccp_pmd.c drivers/crypto: invoke probing finish function 2021-10-20 15:33:16 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00