diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-06-25 00:12:29 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-06-28 16:45:32 +0300 |
commit | 565faef22ed4720eba88dce9a7bd4e8d2fe52dbf (patch) | |
tree | 79d0018d6a136a7ea918963acbe4cf8935296786 | |
parent | 1aba82f7993018db527fb40355a3a16f809613a2 (diff) | |
download | gnutls-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.c | 2 |
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: |