diff mbox

[API-NEXT,1/2] api: crypto: Adding crypto authentication algorithm

Message ID 1478870270-2833-2-git-send-email-balakrishna.garapati@linaro.org
State New
Headers show

Commit Message

Balakrishna Garapati Nov. 11, 2016, 1:17 p.m. UTC
Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>

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

-- 
1.9.1
diff mbox

Patch

diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index 0cb8814..1ce547b 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -83,6 +83,8 @@  typedef enum {
 	ODP_AUTH_ALG_NULL,
 	/** HMAC-MD5 with 96 bit key */
 	ODP_AUTH_ALG_MD5_96,
+	/** HMAC-MD5 with 512 bit key */
+	ODP_AUTH_ALG_MD5_512,
 	/** SHA256 with 128 bit key */
 	ODP_AUTH_ALG_SHA256_128,
 	/** AES128 in Galois/Counter Mode */
@@ -130,6 +132,9 @@  typedef union odp_crypto_auth_algos_t {
 		/** ODP_AUTH_ALG_MD5_96 */
 		uint32_t md5_96     : 1;
 
+		/** ODP_AUTH_ALG_MD5_512 */
+		uint32_t md5_512     : 1;
+
 		/** ODP_AUTH_ALG_SHA256_128 */
 		uint32_t sha256_128 : 1;