OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
version.h
Go to the documentation of this file.
1 
6 /*
7  * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
8  * SPDX-License-Identifier: Apache-2.0
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License"); you may
11  * not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  * This file is part of mbed TLS (https://tls.mbed.org)
23  */
24 /*
25  * This set of compile-time defines and run-time variables can be used to
26  * determine the version number of the mbed TLS library used.
27  */
28 #ifndef MBEDTLS_VERSION_H
29 #define MBEDTLS_VERSION_H
30 
31 #if !defined(MBEDTLS_CONFIG_FILE)
32 #include "config.h"
33 #else
34 #include MBEDTLS_CONFIG_FILE
35 #endif
36 
41 #define MBEDTLS_VERSION_MAJOR 2
42 #define MBEDTLS_VERSION_MINOR 16
43 #define MBEDTLS_VERSION_PATCH 0
44 
50 #define MBEDTLS_VERSION_NUMBER 0x02100000
51 #define MBEDTLS_VERSION_STRING "2.16.0"
52 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.16.0"
53 
54 #if defined(MBEDTLS_VERSION_C)
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
66 unsigned int mbedtls_version_get_number( void );
67 
74 void mbedtls_version_get_string( char *string );
75 
85 void mbedtls_version_get_string_full( char *string );
86 
104 int mbedtls_version_check_feature( const char *feature );
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif /* MBEDTLS_VERSION_C */
111 
112 #endif /* version.h */
Configuration options (set of defines)