> -----Original Message-----
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT
> Bill Fischofer
> Sent: Wednesday, February 17, 2016 9:37 PM
> To: lng-odp@lists.linaro.org
> Subject: [lng-odp] [API-NEXT PATCH 1/4] api: crypto: add
> odp_crypto_capability() api
> 
> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
> ---
>  include/odp/api/spec/crypto.h | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
> index 41beedb..eaacff1 100644
> --- a/include/odp/api/spec/crypto.h
> +++ b/include/odp/api/spec/crypto.h
> @@ -254,6 +254,24 @@ typedef struct odp_crypto_op_result {
>  } odp_crypto_op_result_t;
> 
>  /**
> + * Crypto capabilities
> + */
> +typedef struct odp_crypto_capability_t {
> +     /** Maximum number of sessions */
> +     unsigned max_sessions;
> +} odp_crypto_capability_t;
> +
> +/**
> + * Get crypto capabilities
> + *
> + * @param[out] capability Pointer to capability structrue for output

Typo: structure

Otherwise OK.

Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>

-Petri


> + *
> + * @retval 0 on success
> + * @retval <0 on failure
> + */
> +int odp_crypto_capability(odp_crypto_capability_t *capability);
> +
> +/**
>   * Crypto session creation (synchronous)
>   *
>   * @param params            Session parameters
> --
> 2.5.0
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to