From 565faef22ed4720eba88dce9a7bd4e8d2fe52dbf Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Tue, 25 Jun 2019 00:12:29 +0300 Subject: nettle: return true for gnutls_mac_exists(AES-CMAC*) Signed-off-by: Dmitry Eremin-Solenikov --- lib/nettle/mac.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/nettle') diff --git a/lib/nettle/mac.c b/lib/nettle/mac.c index eac99af561..5e8bcec0a7 100644 --- a/lib/nettle/mac.c +++ b/lib/nettle/mac.c @@ -417,6 +417,8 @@ static int wrap_nettle_mac_exists(gnutls_mac_algorithm_t algo) case GNUTLS_MAC_SHA512: case GNUTLS_MAC_UMAC_96: case GNUTLS_MAC_UMAC_128: + case GNUTLS_MAC_AES_CMAC_128: + case GNUTLS_MAC_AES_CMAC_256: case GNUTLS_MAC_AES_GMAC_128: case GNUTLS_MAC_AES_GMAC_192: case GNUTLS_MAC_AES_GMAC_256: -- cgit v1.2.1