This commit adds CONFIG_BT_USE_PSA_API to allow the end user to prefer PSA APIs over TinyCrypt for crypto operations in bluetooth. Of course, this is possible only if a PSA provider is available on the system, i.e. CONFIG_PSA_CRYPTO_CLIENT is set. This commit also extends tests/bluetooth/bt_crypto adding a test case for PSA. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
31 lines
734 B
YAML
31 lines
734 B
YAML
tests:
|
|
bluetooth.bt_crypto:
|
|
extra_args:
|
|
- EXTRA_DTC_OVERLAY_FILE="test.overlay"
|
|
platform_allow:
|
|
- native_posix
|
|
- native_posix/native/64
|
|
- native_sim
|
|
- native_sim/native/64
|
|
- qemu_x86
|
|
- qemu_cortex_m3
|
|
integration_platforms:
|
|
- native_sim
|
|
tags: bluetooth
|
|
bluetooth.bt_crypto.psa:
|
|
filter: CONFIG_PSA_CRYPTO_CLIENT
|
|
extra_args:
|
|
- EXTRA_DTC_OVERLAY_FILE="test.overlay"
|
|
platform_allow:
|
|
- native_posix
|
|
- native_posix/native/64
|
|
- native_sim
|
|
- native_sim/native/64
|
|
- qemu_x86
|
|
- qemu_cortex_m3
|
|
- nrf5340dk/nrf5340/cpuapp/ns
|
|
- nrf52840dk/nrf52840
|
|
integration_platforms:
|
|
- native_sim
|
|
tags: bluetooth
|