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_MD5
13
14# include <openssl/md5.h>
15# include "crypto/evp.h"
16
17static const EVP_MD md5_md = {
18 NID_md5,
19 NID_md5WithRSAEncryption,
20 MD5_DIGEST_LENGTH,
21 0,
22 NULL,
23 NULL,
24 NULL,
25 NULL,
26 NULL,
27 MD5_CBLOCK,
28};
29
30const EVP_MD *EVP_md5(void)
31{
32 return &md5_md;
33}
34
35#endif /* OPENSSL_NO_MD5 */
36