Skip to content

Commit 7738cef

Browse files
alxelaxrlubos
authored andcommitted
Bluetooth: Mesh: enable HUK init in driver
Commit enables HUK initialization in psa_driver_wrapper_init for all ble mesh samples if platform supports that. Signed-off-by: Aleksandr Khromykh <[email protected]>
1 parent b92e935 commit 7738cef

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ config BT_MESH_PSA_CRYPTO_STORAGE
3535
imply TRUSTED_STORAGE
3636
select MBEDTLS_PSA_CRYPTO_STORAGE_C
3737

38-
choice TRUSTED_STORAGE_BACKEND_AEAD_KEY
39-
default TRUSTED_STORAGE_BACKEND_AEAD_KEY_HASH_UID
40-
41-
endchoice # TRUSTED_STORAGE_BACKEND_AEAD_KEY
38+
config BT_MESH_CRYPTO_KEY_INITIALIZER
39+
bool
40+
default y
41+
imply HW_UNIQUE_KEY_WRITE_ON_CRYPTO_INIT if HW_UNIQUE_KEY_SUPPORTED
4242

4343
endif # BT_SETTINGS
4444

tests/bluetooth/tester/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ CONFIG_UART_PIPE=y
2929
CONFIG_SETTINGS=y
3030
CONFIG_FLASH=y
3131
CONFIG_FLASH_MAP=y
32+
CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x8000
3233

3334
# General Bluetooth Controller and Host Configs
3435
CONFIG_BT=y

tests/bluetooth/tester/sysbuild.conf

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)