EVP_md2.pod 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =pod
  2. =head1 NAME
  3. EVP_md2
  4. - MD2 For EVP
  5. =head1 SYNOPSIS
  6. #include <openssl/evp.h>
  7. const EVP_MD *EVP_md2(void);
  8. =head1 DESCRIPTION
  9. MD2 is a cryptographic hash function standardized in RFC 1319 and designed by
  10. Ronald Rivest. This implementation is only available with the legacy provider.
  11. =over 4
  12. =item EVP_md2()
  13. The MD2 algorithm which produces a 128-bit output from a given input.
  14. =back
  15. =head1 NOTES
  16. Developers should be aware of the negative performance implications of
  17. calling this function multiple times and should consider using
  18. L<EVP_MD_fetch(3)> with L<EVP_MD-MD2(7)> instead.
  19. See L<crypto(7)/Performance> for further information.
  20. =head1 RETURN VALUES
  21. These functions return a B<EVP_MD> structure that contains the
  22. implementation of the message digest. See L<EVP_MD_meth_new(3)> for
  23. details of the B<EVP_MD> structure.
  24. =head1 CONFORMING TO
  25. IETF RFC 1319.
  26. =head1 SEE ALSO
  27. L<evp(7)>,
  28. L<provider(7)>,
  29. L<EVP_DigestInit(3)>
  30. =head1 COPYRIGHT
  31. Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
  32. Licensed under the Apache License 2.0 (the "License"). You may not use
  33. this file except in compliance with the License. You can obtain a copy
  34. in the file LICENSE in the source distribution or at
  35. L<https://www.openssl.org/source/license.html>.
  36. =cut