tests: Bluetooth: Mesh: add cfg mesh with mbedtls PSA to bsim CI

Commit adds configuration for mesh with mbedtls PSA
to CI BabbleSim tests as well as emulation of
the Internal Trustable Storage(ITS) based on Zephyr's
settings to run in parallel environment.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
This commit is contained in:
Aleksandr Khromykh 2023-07-20 16:51:03 +02:00 committed by Carles Cufí
commit 2cdacb3fa8
127 changed files with 1111 additions and 85 deletions

View file

@ -481,6 +481,19 @@
#include CONFIG_MBEDTLS_USER_CONFIG_FILE
#endif
#if !defined(CONFIG_MBEDTLS_PSA_CRYPTO_C)
/* When PSA API is used the checking header is included over the chain:
* |-psa/crypto.h
* |-psa/crypto_platform.h
* |-mbedtls/build_info.h
* |-mbedtls/check_config.h
* If include this header here then PSA API will be in semiconfigured state
* without considering dependencies from mbedtls/config_psa.h.
* mbedtls/config_psa.h should be included right after config-tls-generic.h before checking.
* Formally, all settings are correct but mbedtls library cannot be built.
* The behavior was introduced after adding mbedTLS 3.4.0
*/
#include "mbedtls/check_config.h"
#endif
#endif /* MBEDTLS_CONFIG_H */