bld.SAMBA_SUBSYSTEM('LIBCRYPTO_AES_CMAC',
source='aes_cmac_128.c',
- deps='talloc')
+ deps='talloc',
+ enabled=not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'))
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
source='''
bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO_AES_CMAC',
source='aes_cmac_128_test.c',
autoproto='aes_cmac_test_proto.h',
- deps='talloc')
+ deps='talloc',
+ enabled=not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'))
bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
source='md4test.c',
#include "../lib/crypto/test_proto.h"
#include "../lib/crypto/aes_ccm_test_proto.h"
#include "../lib/crypto/aes_gcm_test_proto.h"
+#ifndef HAVE_GNUTLS_AES_CMAC
#include "../lib/crypto/aes_cmac_test_proto.h"
+#endif
#include "lib/registry/tests/proto.h"
#include "lib/replace/replace-testsuite.h"
torture_suite_add_simple_test(suite,
"crypto.md4", torture_local_crypto_md4);
+#ifndef HAVE_GNUTLS_AES_CMAC
torture_suite_add_simple_test(suite, "crypto.aes_cmac_128",
torture_local_crypto_aes_cmac_128);
+#endif
torture_suite_add_simple_test(suite, "crypto.aes_ccm_128",
torture_local_crypto_aes_ccm_128);
torture_suite_add_simple_test(suite, "crypto.aes_gcm_128",