diff mbox

[API-NEXT,PATCHv4,3/7] api: crypto: add random kind info to odp_crypto_capabilities() api

Message ID 1478133719-10981-3-git-send-email-bill.fischofer@linaro.org
State Superseded
Headers show

Commit Message

Bill Fischofer Nov. 3, 2016, 12:41 a.m. UTC
Add the field max_random_kind to the odp_crypto_capability_t struct

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>

---
 include/odp/api/spec/crypto.h | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4
diff mbox

Patch

diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index 0cb8814..10373a3 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -19,6 +19,8 @@ 
 extern "C" {
 #endif
 
+#include <odp/api/random.h>
+
 /** @defgroup odp_crypto ODP CRYPTO
  *  Macros, enums, types and operations to utilise crypto.
  *  @{
@@ -332,6 +334,8 @@  typedef struct odp_crypto_capability_t {
 	/** Authentication algorithms implemented with HW offload */
 	odp_crypto_auth_algos_t   hw_auths;
 
+	/** Highest kind of random data available */
+	odp_random_kind_t max_random_kind;
 } odp_crypto_capability_t;
 
 /**