static int mac_test_init(EVP_TEST *t, const char *alg)
{
    int type;
    MAC_DATA *mdat;
    if (strcmp(alg, "HMAC") == 0) {
        type = EVP_PKEY_HMAC;
    } else if (strcmp(alg, "CMAC") == 0) {
#ifndef OPENSSL_NO_CMAC
        type = EVP_PKEY_CMAC;
#else
        t->skip = 1;
        return 1;
#endif
    } else if (strcmp(alg, "Poly1305") == 0) {
#ifndef OPENSSL_NO_POLY1305
        type = EVP_PKEY_POLY1305;
#else
        t->skip = 1;
        return 1;
#endif
    } else if (strcmp(alg, "SipHash") == 0) {
#ifndef OPENSSL_NO_SIPHASH
        type = EVP_PKEY_SIPHASH;
#else
        t->skip = 1;
        return 1;
#endif
    } else
        return 0;
    mdat = OPENSSL_zalloc(sizeof(*mdat));
    mdat->type = type;
    t->data = mdat;
    return 1;
}
['static int mac_test_init(EVP_TEST *t, const char *alg)\n{\n    int type;\n    MAC_DATA *mdat;\n    if (strcmp(alg, "HMAC") == 0) {\n        type = EVP_PKEY_HMAC;\n    } else if (strcmp(alg, "CMAC") == 0) {\n#ifndef OPENSSL_NO_CMAC\n        type = EVP_PKEY_CMAC;\n#else\n        t->skip = 1;\n        return 1;\n#endif\n    } else if (strcmp(alg, "Poly1305") == 0) {\n#ifndef OPENSSL_NO_POLY1305\n        type = EVP_PKEY_POLY1305;\n#else\n        t->skip = 1;\n        return 1;\n#endif\n    } else if (strcmp(alg, "SipHash") == 0) {\n#ifndef OPENSSL_NO_SIPHASH\n        type = EVP_PKEY_SIPHASH;\n#else\n        t->skip = 1;\n        return 1;\n#endif\n    } else\n        return 0;\n    mdat = OPENSSL_zalloc(sizeof(*mdat));\n    mdat->type = type;\n    t->data = mdat;\n    return 1;\n}', 'void *CRYPTO_zalloc(size_t num, const char *file, int line)\n{\n    void *ret = CRYPTO_malloc(num, file, line);\n    FAILTEST();\n    if (ret != NULL)\n        memset(ret, 0, num);\n    return ret;\n}', 'void *CRYPTO_malloc(size_t num, const char *file, int line)\n{\n    void *ret = NULL;\n    if (malloc_impl != NULL && malloc_impl != CRYPTO_malloc)\n        return malloc_impl(num, file, line);\n    if (num == 0)\n        return NULL;\n    FAILTEST();\n    allow_customize = 0;\n#ifndef OPENSSL_NO_CRYPTO_MDEBUG\n    if (call_malloc_debug) {\n        CRYPTO_mem_debug_malloc(NULL, num, 0, file, line);\n        ret = malloc(num);\n        CRYPTO_mem_debug_malloc(ret, num, 1, file, line);\n    } else {\n        ret = malloc(num);\n    }\n#else\n    osslargused(file); osslargused(line);\n    ret = malloc(num);\n#endif\n    return ret;\n}']