Ciara Power 757f40e28e cryptodev: modify return value for asym session create
Rather than the asym session create function returning a session on
success, and a NULL value on error, it is modified to now return int
values - 0 on success or -EINVAL/-ENOTSUP/-ENOMEM on failure.
The session to be used is passed as input.

This adds clarity on the failure of the create function, which enables
treating the -ENOTSUP return as TEST_SKIPPED in test apps.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2022-02-12 10:26:39 +01:00
..
2021-12-02 21:36:19 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00