Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:54:25

0001 /**
0002  * \file tf-psa-crypto/version.h
0003  *
0004  * \brief Run-time version information
0005  */
0006 /*
0007  *  Copyright The Mbed TLS Contributors
0008  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
0009  */
0010 /*
0011  * This set of run-time variables can be used to determine the version number of
0012  * the Mbed TLS library used. Compile-time version defines for the same can be
0013  * found in build_info.h
0014  */
0015 #ifndef TF_PSA_CRYPTO_VERSION_H
0016 #define TF_PSA_CRYPTO_VERSION_H
0017 
0018 #include "tf-psa-crypto/build_info.h"
0019 
0020 #if defined(TF_PSA_CRYPTO_VERSION)
0021 
0022 /**
0023  * Get the version number.
0024  *
0025  * \return          The constructed version number in the format
0026  *                  MMNNPP00 (Major, Minor, Patch).
0027  */
0028 unsigned int tf_psa_crypto_version_get_number(void);
0029 
0030 /**
0031  * Get a pointer to the version string ("x.y.z").
0032  *
0033  */
0034 const char *tf_psa_crypto_version_get_string(void);
0035 
0036 /**
0037  * Get a pointer to the full version string ("TF-PSA-Crypto x.y.z").
0038  *
0039  */
0040 const char *tf_psa_crypto_version_get_string_full(void);
0041 
0042 #endif /* TF_PSA_CRYPTO_VERSION */
0043 
0044 #endif /* TF_PSA_CRYPTO_VERSION_H */