Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11833)
return ret;
}
+#ifndef OPENSSL_NO_CMAC
static int test_CMAC_keygen(void)
{
/*
EVP_PKEY_CTX_free(kctx);
return ret;
}
+#endif
static int test_HKDF(void)
{
if (!TEST_int_eq(EVP_PKEY_meth_add0(custom_pmeth), 1))
return 0;
ADD_ALL_TESTS(test_EVP_PKEY_check, OSSL_NELEM(keycheckdata));
+#ifndef OPENSSL_NO_CMAC
ADD_TEST(test_CMAC_keygen);
+#endif
ADD_TEST(test_HKDF);
#ifndef OPENSSL_NO_EC
ADD_TEST(test_X509_PUBKEY_inplace);