DOKK / manpages / debian 12 / openssl / EVP_MD-MDC2.7ssl.en
EVP_MD-MDC2(7SSL) OpenSSL EVP_MD-MDC2(7SSL)

EVP_MD-MDC2 - The MDC2 EVP_MD implementation

Support for computing MDC2 digests through the EVP_MD API.

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

This implementation supports the common gettable parameters described in EVP_MD-common(7).

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.

EVP_MD_CTX_set_params(3), provider-digest(7), OSSL_PROVIDER-legacy(7)

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>.

2023-10-23 3.0.11