summaryrefslogtreecommitdiff
path: root/lib/fips.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2018-10-26 16:55:27 -0400
committerSimo Sorce <simo@redhat.com>2018-10-28 19:41:32 -0400
commitaa9f1be594ca9f11742794d6da534a63e8de69a2 (patch)
treed93d5a55d6bb871d33cf2c34ec5bf21fa6035f3e /lib/fips.h
parentc8d9b6261e88062ca58bf40f0ceaab4a559b9b00 (diff)
downloadgnutls-aa9f1be594ca9f11742794d6da534a63e8de69a2.tar.gz
Add selftests for CMAC
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'lib/fips.h')
-rw-r--r--lib/fips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fips.h b/lib/fips.h
index 4e09916ac4..df04f0c86c 100644
--- a/lib/fips.h
+++ b/lib/fips.h
@@ -105,6 +105,8 @@ static unsigned is_mac_algo_forbidden(gnutls_mac_algorithm_t algo)
case GNUTLS_MAC_SHA3_256:
case GNUTLS_MAC_SHA3_384:
case GNUTLS_MAC_SHA3_512:
+ case GNUTLS_MAC_AES_CMAC_128:
+ case GNUTLS_MAC_AES_CMAC_256:
return 0;
default:
if (mode == GNUTLS_FIPS140_LAX)