| 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_MD4 |
| 13 | |
| 14 | # include <openssl/md4.h> |
| 15 | # include "crypto/evp.h" |
| 16 | |
| 17 | static const EVP_MD md4_md = { |
| 18 | NID_md4, |
| 19 | NID_md4WithRSAEncryption, |
| 20 | MD4_DIGEST_LENGTH, |
| 21 | 0, |
| 22 | NULL, |
| 23 | NULL, |
| 24 | NULL, |
| 25 | NULL, |
| 26 | NULL, |
| 27 | MD4_CBLOCK, |
| 28 | }; |
| 29 | |
| 30 | const EVP_MD *EVP_md4(void) |
| 31 | { |
| 32 | return &md4_md; |
| 33 | } |
| 34 | |
| 35 | #endif /* OPENSSL_NO_MD4 */ |
| 36 | |