---
name: "EVP_MD-MDC2"
section: "7ssl"
platform: "linux"
package: "openssl"
version: "3.6.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/EVP_MD-MDC2"
---

# EVP\_MD-MDC2(7ssl)

The MDC2 EVP\_MD implementation

## NAME

EVP\_MD-MDC2 - The MDC2 EVP\_MD implementation

## DESCRIPTION

Support for computing MDC2 digests through the **EVP\_MD** API.

### Identity

This implementation is only available with the legacy provider, and is identified with the name "MDC2".

### Gettable Parameters

This implementation supports the common gettable parameters described in **EVP\_MD-common**(7).

### Settable Context Parameters

This implementation supports the following **OSSL\_PARAM**(3) entries, settable for an **EVP\_MD\_CTX** with **EVP\_MD\_CTX\_set\_params**(3):

- "pad-type" (**OSSL\_DIGEST\_PARAM\_PAD\_TYPE**) \<unsigned integer\>

  Sets the padding type to be used. Normally the final MDC2 block is padded with zeros. If the pad type is set to 2 then the final block is padded with 0x80 followed by zeros.

## SEE ALSO

**EVP\_MD\_CTX\_set\_params**(3), **provider-digest**(7), **OSSL\_PROVIDER-legacy**(7)

## COPYRIGHT

Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use this file except in compliance with the License.  You can obtain a copy in the file LICENSE in the source distribution or at \<https://www.openssl.org/source/license.html\>.
