test/event_crypto: check session init failure
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 6 Sep 2019 10:42:28 +0000 (16:12 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 5 Oct 2019 13:39:31 +0000 (15:39 +0200)
commit083a59695e14930a340be31766d50b1621dc7046
treec980b2ddb93ea9802b26ba78322ddb1b7f91a18a
parentcc8627bc6d7a7bd3ccc2653b746aac4fbaa0bc50
test/event_crypto: check session init failure

Mismatch in algo or sec capability can cause session to fail.
This patch handle it and return error timely.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
app/test/test_event_crypto_adapter.c