xref: /freebsd/crypto/openssl/doc/man3/EVP_mdc2.pod (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1=pod
2
3=head1 NAME
4
5EVP_mdc2
6- MDC-2 For EVP
7
8=head1 SYNOPSIS
9
10 #include <openssl/evp.h>
11
12 const EVP_MD *EVP_mdc2(void);
13
14=head1 DESCRIPTION
15
16MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a cryptographic
17hash function based on a block cipher.
18
19=over 4
20
21=item EVP_mdc2()
22
23The MDC-2DES algorithm of using MDC-2 with the DES block cipher. It produces a
24128-bit output from a given input.
25
26=back
27
28=head1 RETURN VALUES
29
30These functions return a B<EVP_MD> structure that contains the
31implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
32details of the B<EVP_MD> structure.
33
34=head1 CONFORMING TO
35
36ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block cipher.
37
38=head1 SEE ALSO
39
40L<evp(7)>,
41L<EVP_DigestInit(3)>
42
43=head1 COPYRIGHT
44
45Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
46
47Licensed under the OpenSSL license (the "License").  You may not use
48this file except in compliance with the License.  You can obtain a copy
49in the file LICENSE in the source distribution or at
50L<https://www.openssl.org/source/license.html>.
51
52=cut
53
54