@@ -134,6 +134,16 @@ typedef enum {
*/
ODP_AUTH_ALG_AES_GCM,
+ /** AES in Galois/Counter MAC Mode
+ *
+ * @note Specification uses term AAD with GMAC. ODP uses packet
+ * payload for GMAC authentication, like the rest of MAC algorithms.
+ * Pass GMAC IV via session IV or per-packet IV override.
+ *
+ * @note Must be paired with cipher ODP_CIPHER_ALG_NULL
+ */
+ ODP_AUTH_ALG_AES_GMAC,
+
/** @deprecated Use ODP_AUTH_ALG_MD5_HMAC instead */
ODP_DEPRECATE(ODP_AUTH_ALG_MD5_96),
@@ -208,6 +218,9 @@ typedef union odp_crypto_auth_algos_t {
/** ODP_AUTH_ALG_AES_GCM */
uint32_t aes_gcm : 1;
+ /** ODP_AUTH_ALG_AES_GMAC*/
+ uint32_t aes_gmac : 1;
+
/** @deprecated Use md5_hmac instead */
uint32_t ODP_DEPRECATE(md5_96) : 1;