EVP_MD-MD5-SHA1(7ossl)
π EVP_MD-MD5-SHA1 β the MD5-SHA1 EVP_MD implementation π
okay so bestie, this is a page from the OpenSSL manual set (you know, EVP_MD-MD5-SHA1(7ossl)) and it's about one very specific, very β¨ niche β¨ little digest. buckle up, it's short but it's iconic.
πΈ NAME πΈ
EVP_MD-MD5-SHA1 β literally just the MD5-SHA1 EVP_MD implementation. that's the whole name. periodt.
π¦ DESCRIPTION π¦
so this is all about support for computing MD5-SHA1 digests through the EVP_MD API. that's the vibe. π«Ά
and MD5-SHA1 is, like, a rather special digest β no cap β that's used with SSLv3. it's giving vintage. it's giving legacy-protocol main character energy. π
π Identity π
okay so this implementation? it's only available with the default provider, and it's identified with the name "MD5-SHA1". that's its whole government name, don't try to call it anything else. π
π Gettable Parameters π
this implementation supports the common gettable parameters described in EVP_MD-common(7). the standard ones! nothing extra to learn here, go read that page if you want the deets. β¨
π Settable Context Parameters π
okay now this is the juicy part β this implementation supports the following OSSL_PARAM(3) entries, settable for an EVP_MD_CTX with EVP_MD_CTX_set_params(3):
"ssl3-ms"(OSSL_DIGEST_PARAM_SSL3_MS) <octet string> β so this parameter gets set bylibsslin order to calculate a signature hash for an SSLv3 CertificateVerify message as per RFC6101. and listen, it's only set after all handshake messages have already been digested viaOP_digest_update()calls. the parameter provides the master secret value to be added to the digest, and the digest implementation should calculate the complete digest as per RFC6101 section 5.6.8. also β important β the next call after setting this parameter should beOP_digest_final(). so like, don't be weird about it, okay? π
lowkey important: this lil param is part of a very specific SSLv3 flow, so don't just go setting it randomly and expecting cute results. respect the handshake order. π₯
π SEE ALSO π
go read these next, iykyk π§
π COPYRIGHT π
Copyright 2020 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>.
okay that's the whole page bestie, you ate that π«Άπ β this was OpenSSL 3.5.6, dated 2026-04-07, and that's the tea βπΈ
π¦ 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