1/*
2 * Copyright 2015-2019 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/opensslconf.h>
11
12#ifndef OPENSSL_NO_MDC2
13
14# include <openssl/mdc2.h>
15# include "crypto/evp.h"
16
17static const EVP_MD mdc2_md = {
18 NID_mdc2,
19 NID_mdc2WithRSA,
20 MDC2_DIGEST_LENGTH,
21 0,
22 NULL,
23 NULL,
24 NULL,
25 NULL,
26 NULL,
27 MDC2_BLOCK,
28};
29
30const EVP_MD *EVP_mdc2(void)
31{
32 return &mdc2_md;
33}
34
35#endif /* OPENSSL_NO_MDC2 */
36