Mbed TLS v2.28.8
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1
6/*
7 * Copyright The Mbed TLS Contributors
8 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 */
10/*
11 * This set of compile-time defines and run-time variables can be used to
12 * determine the version number of the Mbed TLS library used.
13 */
14#ifndef MBEDTLS_VERSION_H
15#define MBEDTLS_VERSION_H
16
17#if !defined(MBEDTLS_CONFIG_FILE)
18#include "mbedtls/config.h"
19#else
20#include MBEDTLS_CONFIG_FILE
21#endif
22
27#define MBEDTLS_VERSION_MAJOR 2
28#define MBEDTLS_VERSION_MINOR 28
29#define MBEDTLS_VERSION_PATCH 8
30
36#define MBEDTLS_VERSION_NUMBER 0x021C0800
37#define MBEDTLS_VERSION_STRING "2.28.8"
38#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 2.28.8"
39
40#if defined(MBEDTLS_VERSION_C)
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
52unsigned int mbedtls_version_get_number(void);
53
60void mbedtls_version_get_string(char *string);
61
72
90int mbedtls_version_check_feature(const char *feature);
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif /* MBEDTLS_VERSION_C */
97
98#endif /* version.h */
Configuration options (set of defines)
unsigned int mbedtls_version_get_number(void)
void mbedtls_version_get_string_full(char *string)
void mbedtls_version_get_string(char *string)
int mbedtls_version_check_feature(const char *feature)
Check if support for a feature was compiled into this Mbed TLS binary. This allows you to see at runt...