diff options
Diffstat (limited to 'lib/algorithms/mac.c')
-rw-r--r-- | lib/algorithms/mac.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/algorithms/mac.c b/lib/algorithms/mac.c index 11847f5246..ddbba2f453 100644 --- a/lib/algorithms/mac.c +++ b/lib/algorithms/mac.c @@ -162,6 +162,21 @@ mac_entry_st hash_algorithms[] = { .id = GNUTLS_MAC_AES_CMAC_256, .output_size = 16, .key_size = 32}, + {.name = "AES-GMAC-128", + .id = GNUTLS_MAC_AES_GMAC_128, + .output_size = 16, + .key_size = 16, + .nonce_size = 12}, + {.name = "AES-GMAC-192", + .id = GNUTLS_MAC_AES_GMAC_192, + .output_size = 16, + .key_size = 24, + .nonce_size = 12}, + {.name = "AES-GMAC-256", + .id = GNUTLS_MAC_AES_GMAC_256, + .output_size = 16, + .key_size = 32, + .nonce_size = 12}, {.name = "MAC-NULL", .id = GNUTLS_MAC_NULL}, {0, 0, 0, 0, 0, 0, 0, 0, 0} |