]>
Commit | Line | Data |
---|---|---|
bbda8ce9 RT |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
5 | EVP_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 | ||
16 | MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a cryptographic | |
0f6c3ebb SAS |
17 | hash function based on a block cipher. This implementation is only available |
18 | with the legacy provider. | |
bbda8ce9 RT |
19 | |
20 | =over 4 | |
21 | ||
22 | =item EVP_mdc2() | |
23 | ||
24 | The MDC-2DES algorithm of using MDC-2 with the DES block cipher. It produces a | |
25 | 128-bit output from a given input. | |
26 | ||
27 | =back | |
28 | ||
29 | =head1 RETURN VALUES | |
30 | ||
31 | These functions return a B<EVP_MD> structure that contains the | |
ae2efd63 | 32 | implementation of the message digest. See L<EVP_MD_meth_new(3)> for |
bbda8ce9 RT |
33 | details of the B<EVP_MD> structure. |
34 | ||
35 | =head1 CONFORMING TO | |
36 | ||
37 | ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block cipher. | |
38 | ||
39 | =head1 SEE ALSO | |
40 | ||
41 | L<evp(7)>, | |
0f6c3ebb | 42 | L<provider(7)>, |
bbda8ce9 RT |
43 | L<EVP_DigestInit(3)> |
44 | ||
45 | =head1 COPYRIGHT | |
46 | ||
fbd2ece1 | 47 | Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. |
bbda8ce9 | 48 | |
4746f25a | 49 | Licensed under the Apache License 2.0 (the "License"). You may not use |
bbda8ce9 RT |
50 | this file except in compliance with the License. You can obtain a copy |
51 | in the file LICENSE in the source distribution or at | |
52 | L<https://www.openssl.org/source/license.html>. | |
53 | ||
54 | =cut | |
55 |