@@ -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 structure for output
+ *
+ * @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
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/spec/crypto.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)