xref: /freebsd/crypto/openssl/doc/man3/EVP_md2.pod (revision ad991e4c142ebabad7aef488ad97b189ecabb270)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimEVP_md2
6e71b7053SJung-uk Kim- MD2 For EVP
7e71b7053SJung-uk Kim
8e71b7053SJung-uk Kim=head1 SYNOPSIS
9e71b7053SJung-uk Kim
10e71b7053SJung-uk Kim #include <openssl/evp.h>
11e71b7053SJung-uk Kim
12e71b7053SJung-uk Kim const EVP_MD *EVP_md2(void);
13e71b7053SJung-uk Kim
14e71b7053SJung-uk Kim=head1 DESCRIPTION
15e71b7053SJung-uk Kim
16e71b7053SJung-uk KimMD2 is a cryptographic hash function standardized in RFC 1319 and designed by
17b077aed3SPierre ProncheryRonald Rivest. This implementation is only available with the legacy provider.
18e71b7053SJung-uk Kim
19e71b7053SJung-uk Kim=over 4
20e71b7053SJung-uk Kim
21e71b7053SJung-uk Kim=item EVP_md2()
22e71b7053SJung-uk Kim
23e71b7053SJung-uk KimThe MD2 algorithm which produces a 128-bit output from a given input.
24e71b7053SJung-uk Kim
25e71b7053SJung-uk Kim=back
26e71b7053SJung-uk Kim
27b077aed3SPierre Pronchery=head1 NOTES
28b077aed3SPierre Pronchery
29b077aed3SPierre ProncheryDevelopers should be aware of the negative performance implications of
30b077aed3SPierre Proncherycalling this function multiple times and should consider using
31*ad991e4cSEd MasteL<EVP_MD_fetch(3)> with L<EVP_MD-MD2(7)> instead.
32b077aed3SPierre ProncherySee L<crypto(7)/Performance> for further information.
33e71b7053SJung-uk Kim
34e71b7053SJung-uk Kim=head1 RETURN VALUES
35e71b7053SJung-uk Kim
36e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the
37b077aed3SPierre Proncheryimplementation of the message digest. See L<EVP_MD_meth_new(3)> for
38e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure.
39e71b7053SJung-uk Kim
40e71b7053SJung-uk Kim=head1 CONFORMING TO
41e71b7053SJung-uk Kim
42e71b7053SJung-uk KimIETF RFC 1319.
43e71b7053SJung-uk Kim
44e71b7053SJung-uk Kim=head1 SEE ALSO
45e71b7053SJung-uk Kim
46e71b7053SJung-uk KimL<evp(7)>,
47b077aed3SPierre ProncheryL<provider(7)>,
48e71b7053SJung-uk KimL<EVP_DigestInit(3)>
49e71b7053SJung-uk Kim
50e71b7053SJung-uk Kim=head1 COPYRIGHT
51e71b7053SJung-uk Kim
52b077aed3SPierre ProncheryCopyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
53e71b7053SJung-uk Kim
54b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
55e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
56e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
57e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
58e71b7053SJung-uk Kim
59e71b7053SJung-uk Kim=cut
60e71b7053SJung-uk Kim
61