[EXT] [PATCH v4 5/5] crypto: modify return value for asym session create
Akhil Goyal
gakhil at marvell.com
Wed Feb 9 21:19:08 CET 2022
> 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 at intel.com>
> Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
> Acked-by: Anoob Joseph <anoobj at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
More information about the dev
mailing list