diff mbox

[1/2] api: crypto: Adding crypto authentication algorithm

Message ID 1478852863-24743-2-git-send-email-balakrishna.garapati@linaro.org
State Superseded
Headers show

Commit Message

Balakrishna Garapati Nov. 11, 2016, 8:27 a.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

Comments

Maxim Uvarov Nov. 11, 2016, 10:13 a.m. UTC | #1
patch has to be prefixed with API-NEXT PATCH

On 11 November 2016 at 11:27, Balakrishna Garapati <
balakrishna.garapati@linaro.org> wrote:

> Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>

> ---

>  include/odp/api/spec/crypto.h | 5 +++++

>  1 file changed, 5 insertions(+)

>

> diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h

> index dea1fe9..bfa71cf 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;

>

> --

> 1.9.1

>

>
diff mbox

Patch

diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index dea1fe9..bfa71cf 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;