mbed TLS v3.1.0
compat-2.x.h
Go to the documentation of this file.
1 
8 /*
9  * Copyright The Mbed TLS Contributors
10  * SPDX-License-Identifier: Apache-2.0
11  *
12  * Licensed under the Apache License, Version 2.0 (the "License"); you may
13  * not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  * http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
20  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  */
24 
25 #if defined(MBEDTLS_DEPRECATED_WARNING)
26 #warning "Including compat-2.x.h is deprecated"
27 #endif
28 
29 #ifndef MBEDTLS_COMPAT2X_H
30 #define MBEDTLS_COMPAT2X_H
31 
32 /*
33  * Macros for renamed functions
34  */
35 #define mbedtls_ctr_drbg_update_ret mbedtls_ctr_drbg_update
36 #define mbedtls_hmac_drbg_update_ret mbedtls_hmac_drbg_update
37 #define mbedtls_md5_starts_ret mbedtls_md5_starts
38 #define mbedtls_md5_update_ret mbedtls_md5_update
39 #define mbedtls_md5_finish_ret mbedtls_md5_finish
40 #define mbedtls_md5_ret mbedtls_md5
41 #define mbedtls_ripemd160_starts_ret mbedtls_ripemd160_starts
42 #define mbedtls_ripemd160_update_ret mbedtls_ripemd160_update
43 #define mbedtls_ripemd160_finish_ret mbedtls_ripemd160_finish
44 #define mbedtls_ripemd160_ret mbedtls_ripemd160
45 #define mbedtls_sha1_starts_ret mbedtls_sha1_starts
46 #define mbedtls_sha1_update_ret mbedtls_sha1_update
47 #define mbedtls_sha1_finish_ret mbedtls_sha1_finish
48 #define mbedtls_sha1_ret mbedtls_sha1
49 #define mbedtls_sha256_starts_ret mbedtls_sha256_starts
50 #define mbedtls_sha256_update_ret mbedtls_sha256_update
51 #define mbedtls_sha256_finish_ret mbedtls_sha256_finish
52 #define mbedtls_sha256_ret mbedtls_sha256
53 #define mbedtls_sha512_starts_ret mbedtls_sha512_starts
54 #define mbedtls_sha512_update_ret mbedtls_sha512_update
55 #define mbedtls_sha512_finish_ret mbedtls_sha512_finish
56 #define mbedtls_sha512_ret mbedtls_sha512
57 
58 #endif /* MBEDTLS_COMPAT2X_H */