summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-06-25 00:12:29 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-06-28 16:45:32 +0300
commit565faef22ed4720eba88dce9a7bd4e8d2fe52dbf (patch)
tree79d0018d6a136a7ea918963acbe4cf8935296786
parent1aba82f7993018db527fb40355a3a16f809613a2 (diff)
downloadgnutls-565faef22ed4720eba88dce9a7bd4e8d2fe52dbf.tar.gz
nettle: return true for gnutls_mac_exists(AES-CMAC*)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r--lib/nettle/mac.c2
1 files changed, 2 insertions, 0 deletions
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: