EVP_MD-MD5-SHA1(7ossl)

πŸ’… EVP_MD-MD5-SHA1 β€” the MD5-SHA1 EVP_MD implementation

okay so bestie, welcome to the 7ossl corner of the universe ✨ this is the page for the MD5-SHA1 EVP_MD implementation, and yes it's a weird one, but we're gonna get through it together 🫢


🌸 NAME 🌸

EVP_MD-MD5-SHA1 β€” the MD5-SHA1 EVP_MD implementation. that's the whole name, no cap πŸŽ€


✨ DESCRIPTION ✨

so basically this page covers support for computing MD5-SHA1 digests through the EVP_MD API πŸ’–

and here's the tea: MD5-SHA1 is a rather special digest that's used with SSLv3. like, it's giving legacy icon, it's got a very specific job, and that job is SSLv3 🧚

πŸ‘‘ Identity

this implementation is only available with the default provider, and it's identified with the name "MD5-SHA1" β€” that's literally the string, character for character, don't get creative with it πŸ’…

πŸ¦‹ Gettable Parameters

this implementation supports the common gettable parameters described over in EVP_MD-common(7). slay, standard behaviour, nothing chaotic here 😌

πŸ”₯ Settable Context Parameters

okay this is the main character section 🌈 this implementation supports the following OSSL_PARAM(3) entries, which you can set for an EVP_MD_CTX with EVP_MD_CTX_set_params(3):

  • "ssl3-ms" (OSSL_DIGEST_PARAM_SSL3_MS) <octet string> β€” this parameter is set by libssl in order to calculate a signature hash for an SSLv3 CertificateVerify message as per RFC6101. it's only set after all handshake messages have already been digested via OP_digest_update() calls. the parameter provides the master secret value to be added to the digest. the digest implementation should calculate the complete digest as per RFC6101 section 5.6.8. and the next call after setting this parameter should be OP_digest_final() β€” like, that's the order, respect the order πŸ™ˆ
⚠️ bestie, read that last bit again: after you set "ssl3-ms", the next call should be OP_digest_final(). not more updates. periodt. πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

go read those, iykyk πŸ’œ


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


and that's the whole page, bestie 🫢 this was version 3.5.9, dated 2026-09-29, from the EVP_MD-MD5-SHA1(7ossl) manual β€” mwah, go forth and digest responsibly πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from