EVP_MD-MD5-SHA1.pod 1.6 KB

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