EVP_MD-SHA1(7ossl)
π EVP_MD-SHA1 β the SHA1 EVP_MD implementation (7ossl, OpenSSL, bestie)
okay so real talk: this page lives in the 7ossl manual, and it's genuinely just about one icon β SHA1 β showing up through the EVP_MD API. Let's get into it π
β¨ NAME β¨
EVP_MD-SHA1 β literally the SHA1 EVP_MD implementation. that's the whole vibe. π
πΈ DESCRIPTION πΈ
So this is the support for computing SHA1 digests through the EVP_MD API. no cap, that's the entire description. slay. β¨
π¦ Identities
This implementation is available with the FIPS provider as well as the default provider β two whole homes, main character energy fr fr. π
It answers to the names "SHA1" and "SHA-1". yes bestie, both spellings, pick your fighter. π«Ά
π§ Gettable Parameters
This implementation supports the common gettable parameters described over in EVP_MD-common(7). iykyk β go read that one for the deets. π
π Settable Context Parameters
This implementation supports the following OSSL_PARAM(3) entries, and you can set them on an EVP_MD_CTX with EVP_MD_CTX_set_params(3):
"ssl3-ms"(OSSL_DIGEST_PARAM_SSL3_MS)<octet string>β okay so this one is set bylibsslin order to calculate a signature hash for an SSLv3 CertificateVerify message as per RFC6101. and here's the important part, bestie: it is 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. the digest implementation should calculate the complete digest as per RFC6101 section 5.6.8. and the next call after setting this parameter should beOP_digest_final(). periodt. π
heads up π«Ά β that ordering is not a suggestion, it's the whole assignment: this parameter goes in after every handshake message has been digested, and OP_digest_final() is what comes next.
π₯ SEE ALSO π₯
π 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>. π
and that's the whole page, bestie β version 3.5.6, dated 2026-04-07, filed under EVP_MD-SHA1(7ossl). go digest something πΈπ¦π
π¦ 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