xref: /optee_os/lib/libmbedtls/mbedtls/library/threading_internal.h (revision 19116a65b6728f04be40b827236dce7a34da49e1)
1*19116a65SYann Gautier /**
2*19116a65SYann Gautier  * \file threading_internal.h
3*19116a65SYann Gautier  *
4*19116a65SYann Gautier  * \brief Threading interfaces used by the test framework
5*19116a65SYann Gautier  */
6*19116a65SYann Gautier /*
7*19116a65SYann Gautier  *  Copyright The Mbed TLS Contributors
8*19116a65SYann Gautier  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9*19116a65SYann Gautier  */
10*19116a65SYann Gautier 
11*19116a65SYann Gautier #ifndef MBEDTLS_THREADING_INTERNAL_H
12*19116a65SYann Gautier #define MBEDTLS_THREADING_INTERNAL_H
13*19116a65SYann Gautier 
14*19116a65SYann Gautier #include "common.h"
15*19116a65SYann Gautier 
16*19116a65SYann Gautier #include <mbedtls/threading.h>
17*19116a65SYann Gautier 
18*19116a65SYann Gautier /* A version number for the internal threading interface.
19*19116a65SYann Gautier  * This is meant to allow the framework to remain compatible with
20*19116a65SYann Gautier  * multiple versions, to facilitate transitions.
21*19116a65SYann Gautier  *
22*19116a65SYann Gautier  * Conventionally, this is the Mbed TLS version number when the
23*19116a65SYann Gautier  * threading interface was last changed in a way that may impact the
24*19116a65SYann Gautier  * test framework, with the lower byte incremented as necessary
25*19116a65SYann Gautier  * if multiple changes happened between releases. */
26*19116a65SYann Gautier #define MBEDTLS_THREADING_INTERNAL_VERSION 0x03060000
27*19116a65SYann Gautier 
28*19116a65SYann Gautier #endif /* MBEDTLS_THREADING_INTERNAL_H */
29