{
    "mode": "man",
    "parameter": "EVP_MD-MDC2",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/EVP_MD-MDC2/7/json",
    "generated": "2026-06-15T16:45:46Z",
    "sections": {
        "NAME": {
            "content": "EVPMD-MDC2 - The MDC2 EVPMD implementation\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Support for computing MDC2 digests through the EVPMD API.\n",
            "subsections": [
                {
                    "name": "Identity",
                    "content": "This implementation is only available with the legacy provider, and is identified with the\nname \"MDC2\".\n"
                },
                {
                    "name": "Gettable Parameters",
                    "content": "This implementation supports the common gettable parameters described in EVPMD-common(7).\n"
                },
                {
                    "name": "Settable Context Parameters",
                    "content": "This implementation supports the following OSSLPARAM(3) entries, settable for an EVPMDCTX\nwith EVPMDCTXsetparams(3):\n\n\"pad-type\" (OSSLDIGESTPARAMPADTYPE) <unsigned integer>\nSets the padding type to be used.  Normally the final MDC2 block is padded with zeros.\nIf the pad type is set to 2 then the final block is padded with 0x80 followed by zeros.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "EVPMDCTXsetparams(3), provider-digest(7), OSSLPROVIDER-legacy(7)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-06-02                            EVPMD-MDC2(7SSL)",
            "subsections": []
        }
    },
    "summary": "EVPMD-MDC2 - The MDC2 EVPMD implementation",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "EVPMDCTXsetparams",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPMDCTXsetparams/3/json"
        },
        {
            "name": "provider-digest",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/provider-digest/7/json"
        },
        {
            "name": "OSSLPROVIDER-legacy",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/OSSLPROVIDER-legacy/7/json"
        }
    ]
}