EVP_mdc2.pod 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. =pod
  2. =head1 NAME
  3. EVP_mdc2
  4. - MDC-2 For EVP
  5. =head1 SYNOPSIS
  6. #include <openssl/evp.h>
  7. const EVP_MD *EVP_mdc2(void);
  8. =head1 DESCRIPTION
  9. MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a cryptographic
  10. hash function based on a block cipher. This implementation is only available
  11. with the legacy provider.
  12. =over 4
  13. =item EVP_mdc2()
  14. The MDC-2DES algorithm of using MDC-2 with the DES block cipher. It produces a
  15. 128-bit output from a given input.
  16. =back
  17. =head1 RETURN VALUES
  18. These functions return a B<EVP_MD> structure that contains the
  19. implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
  20. details of the B<EVP_MD> structure.
  21. =head1 CONFORMING TO
  22. ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block cipher.
  23. =head1 SEE ALSO
  24. L<evp(7)>,
  25. L<provider(7)>,
  26. L<EVP_DigestInit(3)>
  27. =head1 COPYRIGHT
  28. Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
  29. Licensed under the Apache License 2.0 (the "License"). You may not use
  30. this file except in compliance with the License. You can obtain a copy
  31. in the file LICENSE in the source distribution or at
  32. L<https://www.openssl.org/source/license.html>.
  33. =cut