]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/EVP_md2.pod
Reference the non-"legacy" provider names directly from EVP_md5(3) &c.
[thirdparty/openssl.git] / doc / man3 / EVP_md2.pod
CommitLineData
bbda8ce9
RT
1=pod
2
3=head1 NAME
4
5EVP_md2
6- MD2 For EVP
7
8=head1 SYNOPSIS
9
10 #include <openssl/evp.h>
11
12 const EVP_MD *EVP_md2(void);
13
14=head1 DESCRIPTION
15
16MD2 is a cryptographic hash function standardized in RFC 1319 and designed by
0f6c3ebb 17Ronald Rivest. This implementation is only available with the legacy provider.
bbda8ce9
RT
18
19=over 4
20
21=item EVP_md2()
22
23The MD2 algorithm which produces a 128-bit output from a given input.
24
25=back
26
e798248c 27=head1 NOTES
28
29Developers should be aware of the negative performance implications of
30calling this function multiple times and should consider using
b6eb95fa 31L<EVP_MD_fetch(3)> with L<EVP_MD-MD2(7)> instead.
e798248c 32See L<crypto(7)/Performance> for further information.
bbda8ce9
RT
33
34=head1 RETURN VALUES
35
36These functions return a B<EVP_MD> structure that contains the
ae2efd63 37implementation of the message digest. See L<EVP_MD_meth_new(3)> for
bbda8ce9
RT
38details of the B<EVP_MD> structure.
39
40=head1 CONFORMING TO
41
42IETF RFC 1319.
43
44=head1 SEE ALSO
45
46L<evp(7)>,
0f6c3ebb 47L<provider(7)>,
bbda8ce9
RT
48L<EVP_DigestInit(3)>
49
50=head1 COPYRIGHT
51
da1c088f 52Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
bbda8ce9 53
4746f25a 54Licensed under the Apache License 2.0 (the "License"). You may not use
bbda8ce9
RT
55this file except in compliance with the License. You can obtain a copy
56in the file LICENSE in the source distribution or at
57L<https://www.openssl.org/source/license.html>.
58
59=cut
60