1 /*
2  * md5_alt.h: MD5 block cipher
3  *
4  * SPDX-FileCopyrightText: The Mbed TLS Contributors
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * SPDX-FileContributor: 2016-2022 Espressif Systems (Shanghai) CO LTD
9  */
10 #ifndef MD5_ALT_H
11 #define MD5_ALT_H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #if defined(MBEDTLS_MD5_ALT)
18 #include "md/esp_md.h"
19 
20 #define mbedtls_md5_init                        esp_md5_init
21 #define mbedtls_md5_update                      esp_md5_update
22 #define mbedtls_md5_finish                      esp_md5_finish
23 #define mbedtls_md5_starts                      esp_md5_starts
24 
25 #define mbedtls_md5_free                        esp_md5_free
26 #define mbedtls_md5_clone                       esp_md5_clone
27 #define mbedtls_internal_md5_process            esp_md5_process
28 
29 #endif /* MBEDTLS_MD5_ALT */
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif
36