1EVP_MDC2(3ossl) OpenSSL EVP_MDC2(3ossl)
2
3
4
6 EVP_mdc2 - MDC-2 For EVP
7
9 #include <openssl/evp.h>
10
11 const EVP_MD *EVP_mdc2(void);
12
14 MDC-2 (Modification Detection Code 2 or Meyer-Schilling) is a
15 cryptographic hash function based on a block cipher. This
16 implementation is only available with the legacy provider.
17
18 EVP_mdc2()
19 The MDC-2DES algorithm of using MDC-2 with the DES block cipher. It
20 produces a 128-bit output from a given input.
21
23 Developers should be aware of the negative performance implications of
24 calling this function multiple times and should consider using
25 EVP_MD_fetch(3) instead. See "Performance" in crypto(7) for further
26 information.
27
29 These functions return a EVP_MD structure that contains the
30 implementation of the message digest. See EVP_MD_meth_new(3) for
31 details of the EVP_MD structure.
32
34 ISO/IEC 10118-2:2000 Hash-Function 2, with DES as the underlying block
35 cipher.
36
38 evp(7), provider(7), EVP_DigestInit(3)
39
41 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
42
43 Licensed under the Apache License 2.0 (the "License"). You may not use
44 this file except in compliance with the License. You can obtain a copy
45 in the file LICENSE in the source distribution or at
46 <https://www.openssl.org/source/license.html>.
47
48
49
503.1.1 2023-08-31 EVP_MDC2(3ossl)