summaryrefslogtreecommitdiff
path: root/lib/includes
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2018-10-26 13:22:23 -0400
committerSimo Sorce <simo@redhat.com>2018-10-28 19:40:26 -0400
commite369b069428ca5e0393598acfbd00e950e905963 (patch)
treee510fae7f4dd497dd22a1dfac7f160df1a2bfa4c /lib/includes
parent60e4138e97731ccea98d864b949ca740e53a5b30 (diff)
downloadgnutls-e369b069428ca5e0393598acfbd00e950e905963.tar.gz
Add CMAC Support
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'lib/includes')
-rw-r--r--lib/includes/gnutls/gnutls.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index 786dcdf055..5dcbc1c986 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -275,6 +275,8 @@ typedef enum {
* @GNUTLS_MAC_AEAD: MAC implicit through AEAD cipher.
* @GNUTLS_MAC_UMAC_96: The UMAC-96 MAC algorithm.
* @GNUTLS_MAC_UMAC_128: The UMAC-128 MAC algorithm.
+ * @GNUTLS_MAC_AES_CMAC_128: The AES-CMAC-128 MAC algorithm.
+ * @GNUTLS_MAC_AES_CMAC_256: The AES-CMAC-256 MAC algorithm.
* @GNUTLS_MAC_SHA3_224: Reserved; unimplemented.
* @GNUTLS_MAC_SHA3_256: Reserved; unimplemented.
* @GNUTLS_MAC_SHA3_384: Reserved; unimplemented.
@@ -307,6 +309,8 @@ typedef enum {
GNUTLS_MAC_AEAD = 200, /* indicates that MAC is on the cipher */
GNUTLS_MAC_UMAC_96 = 201,
GNUTLS_MAC_UMAC_128 = 202,
+ GNUTLS_MAC_AES_CMAC_128 = 203,
+ GNUTLS_MAC_AES_CMAC_256 = 204,
} gnutls_mac_algorithm_t;
/**