CORE: Add OPENSSL_CTX_set0_default(), to set a default library context
[openssl.git] / doc / man7 / EVP_MD-MD5-SHA1.pod
1 =pod
2
3 =head1 NAME
4
5 EVP_MD-MD5-SHA1 - The MD5-SHA1 EVP_MD implementation
6
7 =head1 DESCRIPTION
8
9 Support for computing MD5-SHA1 digests through the B<EVP_MD> API.
10
11 MD5-SHA1 is a rather special digest that's used with SSLv3.
12
13 =head2 Identity
14
15 This implementation is only available with the default provider, and is
16 identified with the name "MD5-SHA1".
17
18 =head2 Gettable Parameters
19
20 This implementation supports the common gettable parameters described
21 in L<EVP_MD-common(7)>.
22
23 =head2 Settable Context Parameters
24
25 This implementation supports the following L<OSSL_PARAM(3)> entries,
26 settable for an B<EVP_MD_CTX> with L<EVP_MD_CTX_set_params(3)>:
27
28 =over 4
29
30 =item "ssl3-ms" (B<OSSL_DIGEST_PARAM_SSL3_MS>) <octet string>
31
32 This parameter is set by libssl in order to calculate a signature hash for an
33 SSLv3 CertificateVerify message as per RFC6101.
34 It is only set after all handshake messages have already been digested via
35 OP_digest_update() calls.
36 The parameter provides the master secret value to be added to the digest.
37 The digest implementation should calculate the complete digest as per RFC6101
38 section 5.6.8.
39 The next call after setting this parameter should be OP_digest_final().
40
41 =back
42
43 =head1 SEE ALSO
44
45 L<EVP_MD_CTX_set_params(3)>, L<provider-digest(7)>, L<OSSL_PROVIDER-default(7)>
46
47 =head1 COPYRIGHT
48
49 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
50
51 Licensed under the Apache License 2.0 (the "License").  You may not use
52 this file except in compliance with the License.  You can obtain a copy
53 in the file LICENSE in the source distribution or at
54 L<https://www.openssl.org/source/license.html>.
55
56 =cut