As TinyCrypt gets deprecated, we need to remove all bsim tests that use it. This commit switches all Bluetooth mesh bsim tests to PSA as a default crypto backend. This includes: - removing `CONFIG_BT_MESH_USES_TINYCRYPT` as PSA is default crypto backend for mesh. `CONFIG_BT_MESH_USES_MBEDTLS_PSA` is not required to be enabled; - merging `overlay_psa.conf` into `prj.conf` as this configuration becomes default for all mesh bsim tests; - merging `overlay_ss.conf` into `overlay_pst.conf` as secure storage is required for running persistent storage bsim tests with PSA; Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
17 lines
559 B
Bash
Executable File
17 lines
559 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2023 Nordic Semiconductor
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
|
|
|
|
# Test Beacon cache
|
|
#
|
|
# Test procedure:
|
|
# 0. RX device starts monitoring all accepted SNB messages.
|
|
# 1. TX device sends two identical SNBs to the RX device.
|
|
# 2. TX device sends a secondary SNBs to the RX device, marking the end of the test.
|
|
# 3. RX device verifies that only one of the two identical beacons was processed.
|
|
RunTest mesh_beacon_cache \
|
|
beacon_tx_beacon_cache \
|
|
beacon_rx_beacon_cache
|