crypto/dpaa2_sec: fix enum conversion for GCM
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 25 Jan 2018 09:53:29 +0000 (15:23 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 15:54:50 +0000 (16:54 +0100)
commit681271e85809f2c0c8c0b81433ec00c832661d15
treeb9c3946ea3b5bbbc68762896bc01385d56b6d928
parentc25a37d75970ea9838fbcc97c773b0248176f1c3
crypto/dpaa2_sec: fix enum conversion for GCM

dpaa2_sec/dpaa2_sec_dpseci.c:1287:25: error: implicit conversion from
enumeration type 'enum rte_crypto_aead_algorithm' to different enumeration
type 'enum rte_crypto_cipher_algorithm' [-Werror,-Wenum-conversion]
                session->cipher_alg = RTE_CRYPTO_AEAD_AES_GCM;

Fixes: 13273250eec5 ("crypto/dpaa2_sec: support AES-GCM and CTR")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h