EVP_MD-MDC2(7ossl)
π EVP_MD-MDC2 π
ok so this little cutie is from the OpenSSL fam β the manual page lives under 7ossl, and the page itself is EVP_MD-MDC2. Yes bestie, we're talking about the MDC2 vibe. π
β¨ NAME β¨
EVP_MD-MDC2 β literally the MDC2 EVP_MD implementation. that's the whole name section, she's brief and iconic π
πΈ DESCRIPTION πΈ
okay so picture this: it's the support system for computing MDC2 digests, and it does it all through the EVP_MD API. that's the tea. π«β¨
π¦ Identity π¦
lowkey important detail: this implementation is only available with the legacy provider. no cap. and she's identified with the name "MDC2" β that's her whole government name.
π Gettable Parameters π
this implementation supports the common gettable parameters β the ones described over in EVP_MD-common(7). so if you're wondering what you can get, go read that, bestie. π«Ά
π Settable Context Parameters π
and here's where it gets spicy π₯ β this implementation supports the following OSSL_PARAM(3) entries, and these bad boys are 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. but if you set the pad type to2, then the final block gets padded with0x80followed by zeros. two whole padding personalities, pick your fighter. π
π SEE ALSO π
go read those too, iykyk πβ¨
π 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>.
fr fr read the license before you go copying things, bestie. that's the rule. π
and that's the whole page, mwah π β version 3.5.6, dated 2026-04-07, signed off with love from your favorite manual page. slay, stay hydrated, and may your digests always be correct π§π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms