crypto/dpaa2_sec: fix handling of session init failure
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 17 Jul 2019 16:22:42 +0000 (21:52 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 19 Jul 2019 12:43:40 +0000 (14:43 +0200)
commitc0ed103a027385f14f352d46ff5450826b2746b7
tree2a79d50d86e406b72fe742c5abccb1f114176e36
parent2967612f44b9726cb14242ae61658f2c944188d2
crypto/dpaa2_sec: fix handling of session init failure

The session init shall return failure if the internal
session create fails for any reasons.

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