> -----Original Message-----
> From: Power, Ciara <[email protected]>
> Sent: Monday, January 24, 2022 3:04 PM
> To: [email protected]
> Cc: Zhang, Roy Fan <[email protected]>; [email protected];
> [email protected]; [email protected]; Power, Ciara
> <[email protected]>; Doherty, Declan <[email protected]>
> Subject: [PATCH v2 4/4] crypto: 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 <[email protected]>
> ---
Acked-by: Fan Zhang <[email protected]>