diff mbox

[API-NEXT,2/4] api: crypto: add entropy info to odp_crypto_capabilities() api

Message ID 1477399744-16516-2-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer Oct. 25, 2016, 12:49 p.m. UTC
Add the fields entropy_available and entropy_size to the
odp_crypto_capability_t struct

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

---
 include/odp/api/spec/crypto.h | 5 +++++
 1 file changed, 5 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..1de6173 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -332,6 +332,11 @@  typedef struct odp_crypto_capability_t {
 	/** Authentication algorithms implemented with HW offload */
 	odp_crypto_auth_algos_t   hw_auths;
 
+	/** True random availability */
+	odp_bool_t entropy_available;
+
+	/** Max entropy bytes that can be requested at a time */
+	uint32_t entropy_size;
 } odp_crypto_capability_t;
 
 /**