@@ -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,12 @@ 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_rand_kind_t max_kind;
+
+ /** Max bytes that can be requested at a time for highest
+ * random kind. Specify as 0 for no limit. */
+ uint32_t max_kind_size;
} odp_crypto_capability_t;
/**
Add the fields max_kind and max_kind_size to the odp_crypto_capability_t struct Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/spec/crypto.h | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4