Skip to content
0.2.0-dev Download ZIP
28 lines ·578 B Raw
1/*
2 * Version information
3 *
4 * Copyright The Mbed TLS Contributors
5 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6 */
7
8#include "tf_psa_crypto_common.h"
9
10#if defined(TF_PSA_CRYPTO_VERSION)
11#include "tf-psa-crypto/version.h"
12
13unsigned int tf_psa_crypto_version_get_number(void)
14{
15 return TF_PSA_CRYPTO_VERSION_NUMBER;
16}
17
18const char *tf_psa_crypto_version_get_string(void)
19{
20 return TF_PSA_CRYPTO_VERSION_STRING;
21}
22
23const char *tf_psa_crypto_version_get_string_full(void)
24{
25 return TF_PSA_CRYPTO_VERSION_STRING_FULL;
26}
27
28#endif /* TF_PSA_CRYPTO_VERSION */