crypto/dpaa_sec: replace use of old build macros
authorGagandeep Singh <g.singh@nxp.com>
Thu, 28 Apr 2022 11:47:25 +0000 (17:17 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 29 Apr 2022 09:27:35 +0000 (11:27 +0200)
Use the newer security macros defined by meson.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c

index 29f4e6d..d081953 100644 (file)
@@ -645,7 +645,7 @@ build_dpaa_raw_dp_cipher_fd(uint8_t *drv_ctx,
        return cf;
 }
 
-#ifdef RTE_LIBRTE_SECURITY
+#ifdef RTE_LIB_SECURITY
 static inline struct dpaa_sec_job *
 build_dpaa_raw_proto_sg(uint8_t *drv_ctx,
                        struct rte_crypto_sgl *sgl,
@@ -1036,7 +1036,7 @@ dpaa_sec_configure_raw_dp_ctx(struct rte_cryptodev *dev, uint16_t qp_id,
                sess->build_raw_dp_fd = build_dpaa_raw_dp_chain_fd;
        else if (sess->ctxt == DPAA_SEC_AEAD)
                sess->build_raw_dp_fd = build_raw_cipher_auth_gcm_sg;
-#ifdef RTE_LIBRTE_SECURITY
+#ifdef RTE_LIB_SECURITY
        else if (sess->ctxt == DPAA_SEC_IPSEC ||
                        sess->ctxt == DPAA_SEC_PDCP)
                sess->build_raw_dp_fd = build_dpaa_raw_proto_sg;